home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_emacs.idb / usr / freeware / share / emacs / 19.34 / lisp / tempo.elc.z / tempo.elc
Emacs Compiled Lisp  |  1998-10-28  |  16.9 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 65 72 69 6b 40 6e 61 |piled by| erik@na|
|00000020| 67 67 75 6d 2e 6e 6f 20 | 6f 6e 20 53 75 6e 20 4a |ggum.no |on Sun J|
|00000030| 61 6e 20 31 34 20 30 36 | 3a 35 30 3a 31 37 20 31 |an 14 06|:50:17 1|
|00000040| 39 39 36 0a 3b 3b 3b 20 | 66 72 6f 6d 20 66 69 6c |996.;;; |from fil|
|00000050| 65 20 2f 67 64 2f 67 6e | 75 2f 65 6d 61 63 73 2f |e /gd/gn|u/emacs/|
|00000060| 31 39 2e 30 2f 6c 69 73 | 70 2f 74 65 6d 70 6f 2e |19.0/lis|p/tempo.|
|00000070| 65 6c 0a 3b 3b 3b 20 65 | 6d 61 63 73 20 76 65 72 |el.;;; e|macs ver|
|00000080| 73 69 6f 6e 20 31 39 2e | 33 30 2e 37 30 2e 36 2e |sion 19.|30.70.6.|
|00000090| 0a 3b 3b 3b 20 62 79 74 | 65 63 6f 6d 70 20 76 65 |.;;; byt|ecomp ve|
|000000a0| 72 73 69 6f 6e 20 46 53 | 46 20 32 2e 31 30 0a 3b |rsion FS|F 2.10.;|
|000000b0| 3b 3b 20 6f 70 74 69 6d | 69 7a 61 74 69 6f 6e 20 |;; optim|ization |
|000000c0| 69 73 20 6f 6e 2e 0a 3b | 3b 3b 20 74 68 69 73 20 |is on..;|;; this |
|000000d0| 66 69 6c 65 20 75 73 65 | 73 20 6f 70 63 6f 64 65 |file use|s opcode|
|000000e0| 73 20 77 68 69 63 68 20 | 64 6f 20 6e 6f 74 20 65 |s which |do not e|
|000000f0| 78 69 73 74 20 69 6e 20 | 45 6d 61 63 73 20 31 38 |xist in |Emacs 18|
|00000100| 2e 0a 0a 28 69 66 20 28 | 61 6e 64 20 28 62 6f 75 |...(if (|and (bou|
|00000110| 6e 64 70 20 27 65 6d 61 | 63 73 2d 76 65 72 73 69 |ndp 'ema|cs-versi|
|00000120| 6f 6e 29 0a 09 20 28 6f | 72 20 28 61 6e 64 20 28 |on).. (o|r (and (|
|00000130| 62 6f 75 6e 64 70 20 27 | 65 70 6f 63 68 3a 3a 76 |boundp '|epoch::v|
|00000140| 65 72 73 69 6f 6e 29 20 | 65 70 6f 63 68 3a 3a 76 |ersion) |epoch::v|
|00000150| 65 72 73 69 6f 6e 29 0a | 09 20 20 20 20 20 28 73 |ersion).|. (s|
|00000160| 74 72 69 6e 67 2d 6c 65 | 73 73 70 20 65 6d 61 63 |tring-le|ssp emac|
|00000170| 73 2d 76 65 72 73 69 6f | 6e 20 22 31 39 2e 32 39 |s-versio|n "19.29|
|00000180| 22 29 29 29 0a 20 20 20 | 20 28 65 72 72 6f 72 20 |"))). | (error |
|00000190| 22 60 74 65 6d 70 6f 2e | 65 6c 27 20 77 61 73 20 |"`tempo.|el' was |
|000001a0| 63 6f 6d 70 69 6c 65 64 | 20 66 6f 72 20 45 6d 61 |compiled| for Ema|
|000001b0| 63 73 20 31 39 2e 32 39 | 20 6f 72 20 6c 61 74 65 |cs 19.29| or late|
|000001c0| 72 22 29 29 0a 0a 0a 23 | 40 31 33 37 20 2a 50 72 |r"))...#|@137 *Pr|
|000001d0| 6f 6d 70 74 20 75 73 65 | 72 20 66 6f 72 20 73 74 |ompt use|r for st|
|000001e0| 72 69 6e 67 73 20 69 6e | 20 74 65 6d 70 6c 61 74 |rings in| templat|
|000001f0| 65 73 2e 0a 49 66 20 74 | 68 69 73 20 76 61 72 69 |es..If t|his vari|
|00000200| 61 62 6c 65 20 69 73 20 | 6e 6f 6e 2d 6e 69 6c 2c |able is |non-nil,|
|00000210| 20 60 74 65 6d 70 6f 2d | 69 6e 73 65 72 74 27 20 | `tempo-|insert' |
|00000220| 70 72 6f 6d 70 74 73 20 | 74 68 65 0a 75 73 65 72 |prompts |the.user|
|00000230| 20 66 6f 72 20 74 65 78 | 74 20 74 6f 20 69 6e 73 | for tex|t to ins|
|00000240| 65 72 74 20 69 6e 20 74 | 68 65 20 74 65 6d 70 6c |ert in t|he templ|
|00000250| 61 74 65 73 1f 0a 28 64 | 65 66 76 61 72 20 74 65 |ates..(d|efvar te|
|00000260| 6d 70 6f 2d 69 6e 74 65 | 72 61 63 74 69 76 65 20 |mpo-inte|ractive |
|00000270| 6e 69 6c 20 28 23 24 20 | 2e 20 2d 34 36 31 29 29 |nil (#$ |. -461))|
|00000280| 0a 23 40 33 32 38 20 2a | 41 75 74 6f 6d 61 74 69 |.#@328 *|Automati|
|00000290| 63 61 6c 6c 79 20 69 6e | 73 65 72 74 20 63 75 72 |cally in|sert cur|
|000002a0| 72 65 6e 74 20 72 65 67 | 69 6f 6e 20 77 68 65 6e |rent reg|ion when|
|000002b0| 20 74 68 65 72 65 20 69 | 73 20 61 20 60 72 27 20 | there i|s a `r' |
|000002c0| 69 6e 20 74 68 65 20 74 | 65 6d 70 6c 61 74 65 0a |in the t|emplate.|
|000002d0| 49 66 20 74 68 69 73 20 | 76 61 72 69 61 62 6c 65 |If this |variable|
|000002e0| 20 69 73 20 4e 49 4c 2c | 20 60 72 27 20 65 6c 65 | is NIL,| `r' ele|
|000002f0| 6d 65 6e 74 73 20 77 69 | 6c 6c 20 62 65 20 74 72 |ments wi|ll be tr|
|00000300| 65 61 74 65 64 20 6a 75 | 73 74 20 6c 69 6b 65 20 |eated ju|st like |
|00000310| 60 70 27 0a 65 6c 65 6d | 65 6e 74 73 2c 20 75 6e |`p'.elem|ents, un|
|00000320| 6c 65 73 73 20 74 68 65 | 20 74 65 6d 70 6c 61 74 |less the| templat|
|00000330| 65 20 66 75 6e 63 74 69 | 6f 6e 20 69 73 20 67 69 |e functi|on is gi|
|00000340| 76 65 6e 20 61 20 70 72 | 65 66 69 78 20 28 6f 72 |ven a pr|efix (or|
|00000350| 20 61 20 6e 6f 6e 2d 6e | 69 6c 0a 61 72 67 75 6d | a non-n|il.argum|
|00000360| 65 6e 74 29 2e 20 49 66 | 20 74 68 69 73 20 76 61 |ent). If| this va|
|00000370| 72 69 61 62 6c 65 20 69 | 73 20 6e 6f 6e 2d 4e 49 |riable i|s non-NI|
|00000380| 4c 2c 20 74 68 65 20 62 | 65 68 61 76 69 6f 75 72 |L, the b|ehaviour|
|00000390| 20 69 73 20 72 65 76 65 | 72 73 65 64 2e 0a 0a 49 | is reve|rsed...I|
|000003a0| 6e 20 54 72 61 6e 73 69 | 65 6e 74 20 4d 61 72 6b |n Transi|ent Mark|
|000003b0| 20 6d 6f 64 65 2c 20 74 | 68 69 73 20 6f 70 74 69 | mode, t|his opti|
|000003c0| 6f 6e 20 69 73 20 75 6e | 75 73 65 64 2e 1f 0a 28 |on is un|used...(|
|000003d0| 64 65 66 76 61 72 20 74 | 65 6d 70 6f 2d 69 6e 73 |defvar t|empo-ins|
|000003e0| 65 72 74 2d 72 65 67 69 | 6f 6e 20 6e 69 6c 20 28 |ert-regi|on nil (|
|000003f0| 23 24 20 2e 20 2d 36 34 | 37 29 29 0a 23 40 39 39 |#$ . -64|7)).#@99|
|00000400| 20 2a 49 66 20 6e 6f 6e | 2d 4e 49 4c 2c 20 73 68 | *If non|-NIL, sh|
|00000410| 6f 77 20 61 20 62 75 66 | 66 65 72 20 77 69 74 68 |ow a buf|fer with|
|00000420| 20 70 6f 73 73 69 62 6c | 65 20 63 6f 6d 70 6c 65 | possibl|e comple|
|00000430| 74 69 6f 6e 73 2c 20 77 | 68 65 6e 20 6f 6e 6c 79 |tions, w|hen only|
|00000440| 0a 61 20 70 61 72 74 69 | 61 6c 20 63 6f 6d 70 6c |.a parti|al compl|
|00000450| 65 74 69 6f 6e 20 63 61 | 6e 20 62 65 20 66 6f 75 |etion ca|n be fou|
|00000460| 6e 64 1f 0a 28 64 65 66 | 76 61 72 20 74 65 6d 70 |nd..(def|var temp|
|00000470| 6f 2d 73 68 6f 77 2d 63 | 6f 6d 70 6c 65 74 69 6f |o-show-c|ompletio|
|00000480| 6e 2d 62 75 66 66 65 72 | 20 74 20 28 23 24 20 2e |n-buffer| t (#$ .|
|00000490| 20 2d 31 30 32 35 29 29 | 0a 23 40 31 32 39 20 2a | -1025))|.#@129 *|
|000004a0| 49 66 20 4e 49 4c 2c 20 | 61 20 63 6f 6d 70 6c 65 |If NIL, |a comple|
|000004b0| 74 69 6f 6e 20 62 75 66 | 66 65 72 20 67 65 6e 65 |tion buf|fer gene|
|000004c0| 72 61 74 65 64 20 62 79 | 20 5c 5b 74 65 6d 70 6f |rated by| \[tempo|
|000004d0| 2d 63 6f 6d 70 6c 65 74 | 65 2d 74 61 67 5d 0a 64 |-complet|e-tag].d|
|000004e0| 69 73 61 70 70 65 61 72 | 73 20 61 74 20 74 68 65 |isappear|s at the|
|000004f0| 20 6e 65 78 74 20 6b 65 | 79 70 72 65 73 73 3b 20 | next ke|ypress; |
|00000500| 6f 74 68 65 72 77 69 73 | 65 2c 20 69 74 20 72 65 |otherwis|e, it re|
|00000510| 6d 61 69 6e 73 20 66 6f | 72 65 76 65 72 2e 1f 0a |mains fo|rever...|
|00000520| 28 64 65 66 76 61 72 20 | 74 65 6d 70 6f 2d 6c 65 |(defvar |tempo-le|
|00000530| 61 76 65 2d 63 6f 6d 70 | 6c 65 74 69 6f 6e 2d 62 |ave-comp|letion-b|
|00000540| 75 66 66 65 72 20 6e 69 | 6c 20 28 23 24 20 2e 20 |uffer ni|l (#$ . |
|00000550| 2d 31 31 38 33 29 29 0a | 23 40 32 32 35 20 4c 69 |-1183)).|#@225 Li|
|00000560| 73 74 20 6f 66 20 66 75 | 6e 63 74 69 6f 6e 73 20 |st of fu|nctions |
|00000570| 74 6f 20 72 75 6e 20 77 | 68 65 6e 20 69 6e 73 65 |to run w|hen inse|
|00000580| 72 74 69 6e 67 20 61 20 | 73 74 72 69 6e 67 2e 0a |rting a |string..|
|00000590| 45 61 63 68 20 66 75 6e | 63 74 69 6f 6e 20 69 73 |Each fun|ction is|
|000005a0| 20 63 61 6c 6c 65 64 20 | 77 69 74 68 20 61 20 73 | called |with a s|
|000005b0| 69 6e 67 6c 65 20 61 72 | 67 2c 20 53 54 52 49 4e |ingle ar|g, STRIN|
|000005c0| 47 20 61 6e 64 20 73 68 | 6f 75 6c 64 20 72 65 74 |G and sh|ould ret|
|000005d0| 75 72 6e 0a 61 6e 6f 74 | 68 65 72 20 73 74 72 69 |urn.anot|her stri|
|000005e0| 6e 67 2e 20 54 68 69 73 | 20 63 6f 75 6c 64 20 62 |ng. This| could b|
|000005f0| 65 20 75 73 65 64 20 66 | 6f 72 20 6d 61 6b 69 6e |e used f|or makin|
|00000600| 67 20 61 6c 6c 20 73 74 | 72 69 6e 67 73 20 75 70 |g all st|rings up|
|00000610| 63 61 73 65 20 62 79 0a | 73 65 74 74 69 6e 67 20 |case by.|setting |
|00000620| 69 74 20 74 6f 20 27 28 | 75 70 63 61 73 65 29 2c |it to '(|upcase),|
|00000630| 20 66 6f 72 20 65 78 61 | 6d 70 6c 65 2e 1f 0a 28 | for exa|mple...(|
|00000640| 64 65 66 76 61 72 20 74 | 65 6d 70 6f 2d 69 6e 73 |defvar t|empo-ins|
|00000650| 65 72 74 2d 73 74 72 69 | 6e 67 2d 66 75 6e 63 74 |ert-stri|ng-funct|
|00000660| 69 6f 6e 73 20 6e 69 6c | 20 28 23 24 20 2e 20 31 |ions nil| (#$ . 1|
|00000670| 33 37 34 29 29 0a 23 40 | 35 39 20 41 6e 20 61 73 |374)).#@|59 An as|
|00000680| 73 6f 63 69 61 74 69 6f | 6e 20 6c 69 73 74 20 77 |sociatio|n list w|
|00000690| 69 74 68 20 74 61 67 73 | 20 61 6e 64 20 63 6f 72 |ith tags| and cor|
|000006a0| 72 65 73 70 6f 6e 64 69 | 6e 67 20 74 65 6d 70 6c |respondi|ng templ|
|000006b0| 61 74 65 73 1f 0a 28 64 | 65 66 76 61 72 20 74 65 |ates..(d|efvar te|
|000006c0| 6d 70 6f 2d 74 61 67 73 | 20 6e 69 6c 20 28 23 24 |mpo-tags| nil (#$|
|000006d0| 20 2e 20 31 36 35 39 29 | 29 0a 23 40 33 38 30 20 | . 1659)|).#@380 |
|000006e0| 41 20 6c 69 73 74 20 6f | 66 20 6c 6f 63 61 6c 6c |A list o|f locall|
|000006f0| 79 20 69 6e 73 74 61 6c | 6c 65 64 20 74 61 67 20 |y instal|led tag |
|00000700| 63 6f 6d 70 6c 65 74 69 | 6f 6e 20 6c 69 73 74 73 |completi|on lists|
|00000710| 2e 0a 49 74 20 69 73 20 | 61 20 61 73 73 6f 63 69 |..It is |a associ|
|00000720| 61 74 69 6f 6e 20 6c 69 | 73 74 20 77 68 65 72 65 |ation li|st where|
|00000730| 20 74 68 65 20 63 61 72 | 20 6f 66 20 65 76 65 72 | the car| of ever|
|00000740| 79 20 65 6c 65 6d 65 6e | 74 20 69 73 20 61 20 73 |y elemen|t is a s|
|00000750| 79 6d 62 6f 6c 0a 77 68 | 6f 73 65 20 76 61 72 69 |ymbol.wh|ose vari|
|00000760| 61 62 6c 65 20 76 61 6c | 75 65 20 69 73 20 61 20 |able val|ue is a |
|00000770| 74 65 6d 70 6c 61 74 65 | 20 6c 69 73 74 2e 20 54 |template| list. T|
|00000780| 68 65 20 63 64 72 20 70 | 61 72 74 2c 20 69 66 20 |he cdr p|art, if |
|00000790| 6e 6f 6e 2d 6e 69 6c 2c | 20 69 73 20 61 0a 66 75 |non-nil,| is a.fu|
|000007a0| 6e 63 74 69 6f 6e 20 6f | 72 20 61 20 72 65 67 65 |nction o|r a rege|
|000007b0| 78 70 20 74 68 61 74 20 | 64 65 66 69 6e 65 73 20 |xp that |defines |
|000007c0| 74 68 65 20 73 74 72 69 | 6e 67 20 74 6f 20 6d 61 |the stri|ng to ma|
|000007d0| 74 63 68 2e 20 53 65 65 | 20 74 68 65 0a 64 6f 63 |tch. See| the.doc|
|000007e0| 75 6d 65 6e 74 61 74 69 | 6f 6e 20 66 6f 72 20 74 |umentati|on for t|
|000007f0| 68 65 20 66 75 6e 63 74 | 69 6f 6e 20 60 74 65 6d |he funct|ion `tem|
|00000800| 70 6f 2d 63 6f 6d 70 6c | 65 74 65 2d 74 61 67 27 |po-compl|ete-tag'|
|00000810| 20 66 6f 72 20 6d 6f 72 | 65 20 69 6e 66 6f 2e 0a | for mor|e info..|
|00000820| 0a 60 74 65 6d 70 6f 2d | 74 61 67 73 27 20 69 73 |.`tempo-|tags' is|
|00000830| 20 61 6c 77 61 79 73 20 | 69 6e 20 74 68 65 20 6c | always |in the l|
|00000840| 61 73 74 20 70 6f 73 69 | 74 69 6f 6e 20 69 6e 20 |ast posi|tion in |
|00000850| 74 68 69 73 20 6c 69 73 | 74 2e 1f 0a 28 64 65 66 |this lis|t...(def|
|00000860| 76 61 72 20 74 65 6d 70 | 6f 2d 6c 6f 63 61 6c 2d |var temp|o-local-|
|00000870| 74 61 67 73 20 28 71 75 | 6f 74 65 20 28 28 74 65 |tags (qu|ote ((te|
|00000880| 6d 70 6f 2d 74 61 67 73 | 29 29 29 20 28 23 24 20 |mpo-tags|))) (#$ |
|00000890| 2e 20 31 37 36 30 29 29 | 0a 23 40 36 32 20 41 20 |. 1760))|.#@62 A |
|000008a0| 63 6f 6c 6c 65 63 74 69 | 6f 6e 20 6f 66 20 61 6c |collecti|on of al|
|000008b0| 6c 20 74 68 65 20 74 61 | 67 73 20 64 65 66 69 6e |l the ta|gs defin|
|000008c0| 65 64 20 66 6f 72 20 74 | 68 65 20 63 75 72 72 65 |ed for t|he curre|
|000008d0| 6e 74 20 62 75 66 66 65 | 72 2e 1f 0a 28 64 65 66 |nt buffe|r...(def|
|000008e0| 76 61 72 20 74 65 6d 70 | 6f 2d 63 6f 6c 6c 65 63 |var temp|o-collec|
|000008f0| 74 69 6f 6e 20 6e 69 6c | 20 28 23 24 20 2e 20 32 |tion nil| (#$ . 2|
|00000900| 32 30 36 29 29 0a 23 40 | 35 34 20 49 6e 64 69 63 |206)).#@|54 Indic|
|00000910| 61 74 65 73 20 69 66 20 | 74 68 65 20 74 61 67 20 |ates if |the tag |
|00000920| 63 6f 6c 6c 65 63 74 69 | 6f 6e 20 6e 65 65 64 73 |collecti|on needs|
|00000930| 20 74 6f 20 62 65 20 72 | 65 62 75 69 6c 74 2e 1f | to be r|ebuilt..|
|00000940| 0a 28 64 65 66 76 61 72 | 20 74 65 6d 70 6f 2d 64 |.(defvar| tempo-d|
|00000950| 69 72 74 79 2d 63 6f 6c | 6c 65 63 74 69 6f 6e 20 |irty-col|lection |
|00000960| 74 20 28 23 24 20 2e 20 | 32 33 31 35 29 29 0a 23 |t (#$ . |2315)).#|
|00000970| 40 38 37 20 41 20 6c 69 | 73 74 20 6f 66 20 6d 61 |@87 A li|st of ma|
|00000980| 72 6b 73 20 74 6f 20 6a | 75 6d 70 20 74 6f 20 77 |rks to j|ump to w|
|00000990| 69 74 68 20 60 5c 5b 74 | 65 6d 70 6f 2d 66 6f 72 |ith `\[t|empo-for|
|000009a0| 77 61 72 64 2d 6d 61 72 | 6b 5d 27 20 61 6e 64 20 |ward-mar|k]' and |
|000009b0| 60 5c 5b 74 65 6d 70 6f | 2d 62 61 63 6b 77 61 72 |`\[tempo|-backwar|
|000009c0| 64 2d 6d 61 72 6b 5d 27 | 2e 1f 0a 28 64 65 66 76 |d-mark]'|...(defv|
|000009d0| 61 72 20 74 65 6d 70 6f | 2d 6d 61 72 6b 73 20 6e |ar tempo|-marks n|
|000009e0| 69 6c 20 28 23 24 20 2e | 20 32 34 32 30 29 29 0a |il (#$ .| 2420)).|
|000009f0| 23 40 38 36 30 20 54 68 | 65 20 72 65 67 65 78 70 |#@860 Th|e regexp|
|00000a00| 20 6f 72 20 66 75 6e 63 | 74 69 6f 6e 20 75 73 65 | or func|tion use|
|00000a10| 64 20 74 6f 20 66 69 6e | 64 20 74 68 65 20 73 74 |d to fin|d the st|
|00000a20| 72 69 6e 67 20 74 6f 20 | 6d 61 74 63 68 20 61 67 |ring to |match ag|
|00000a30| 61 69 6e 73 74 20 74 61 | 67 73 2e 0a 0a 49 66 20 |ainst ta|gs...If |
|00000a40| 60 74 65 6d 70 6f 2d 6d | 61 74 63 68 2d 66 69 6e |`tempo-m|atch-fin|
|00000a50| 64 65 72 20 69 73 20 61 | 20 73 74 72 69 6e 67 2c |der is a| string,|
|00000a60| 20 69 74 20 73 68 6f 75 | 6c 64 20 63 6f 6e 74 61 | it shou|ld conta|
|00000a70| 69 6e 20 61 20 72 65 67 | 75 6c 61 72 0a 65 78 70 |in a reg|ular.exp|
|00000a80| 72 65 73 73 69 6f 6e 20 | 77 69 74 68 20 61 74 20 |ression |with at |
|00000a90| 6c 65 61 73 74 20 6f 6e | 65 20 5c 28 20 5c 29 20 |least on|e \( \) |
|00000aa0| 70 61 69 72 2e 20 57 68 | 65 6e 20 73 65 61 72 63 |pair. Wh|en searc|
|00000ab0| 68 69 6e 67 20 66 6f 72 | 20 74 61 67 73 2c 0a 60 |hing for| tags,.`|
|00000ac0| 74 65 6d 70 6f 2d 63 6f | 6d 70 6c 65 74 65 2d 74 |tempo-co|mplete-t|
|00000ad0| 61 67 27 20 63 61 6c 6c | 73 20 60 72 65 2d 73 65 |ag' call|s `re-se|
|00000ae0| 61 72 63 68 2d 62 61 63 | 6b 77 61 72 64 27 20 77 |arch-bac|kward' w|
|00000af0| 69 74 68 20 74 68 69 73 | 20 73 74 72 69 6e 67 2c |ith this| string,|
|00000b00| 20 61 6e 64 0a 74 68 65 | 20 73 74 72 69 6e 67 20 | and.the| string |
|00000b10| 62 65 74 77 65 65 6e 20 | 74 68 65 20 66 69 72 73 |between |the firs|
|00000b20| 74 20 5c 28 20 61 6e 64 | 20 5c 29 20 69 73 20 75 |t \( and| \) is u|
|00000b30| 73 65 64 20 66 6f 72 20 | 6d 61 74 63 68 69 6e 67 |sed for |matching|
|00000b40| 20 61 67 61 69 6e 73 74 | 0a 65 61 63 68 20 73 74 | against|.each st|
|00000b50| 72 69 6e 67 20 69 6e 20 | 74 68 65 20 74 61 67 20 |ring in |the tag |
|00000b60| 6c 69 73 74 2e 20 49 66 | 20 6f 6e 65 20 69 73 20 |list. If| one is |
|00000b70| 66 6f 75 6e 64 2c 20 74 | 68 65 20 77 68 6f 6c 65 |found, t|he whole|
|00000b80| 20 74 65 78 74 20 62 65 | 74 77 65 65 6e 0a 74 68 | text be|tween.th|
|00000b90| 65 20 66 69 72 73 74 20 | 5c 28 20 61 6e 64 20 74 |e first |\( and t|
|00000ba0| 68 65 20 70 6f 69 6e 74 | 20 69 73 20 72 65 70 6c |he point| is repl|
|00000bb0| 61 63 65 64 20 77 69 74 | 68 20 74 68 65 20 69 6e |aced wit|h the in|
|00000bc0| 73 65 72 74 65 64 20 74 | 65 6d 70 6c 61 74 65 2e |serted t|emplate.|
|00000bd0| 0a 0a 59 6f 75 20 77 69 | 6c 6c 20 70 72 6f 62 61 |..You wi|ll proba|
|00000be0| 62 6c 79 20 77 61 6e 74 | 20 74 6f 20 69 6e 63 6c |bly want| to incl|
|00000bf0| 75 64 65 20 5c 20 3d 20 | 61 74 20 74 68 65 20 65 |ude \ = |at the e|
|00000c00| 6e 64 20 6f 66 20 74 68 | 65 20 72 65 67 65 78 70 |nd of th|e regexp|
|00000c10| 20 74 6f 0a 6d 61 6b 65 | 20 73 75 72 65 20 74 68 | to.make| sure th|
|00000c20| 61 74 20 74 68 65 20 73 | 74 72 69 6e 67 20 69 73 |at the s|tring is|
|00000c30| 20 6d 61 74 63 68 65 64 | 20 6f 6e 6c 79 20 61 67 | matched| only ag|
|00000c40| 61 69 6e 73 74 20 74 65 | 78 74 20 61 64 6a 61 63 |ainst te|xt adjac|
|00000c50| 65 6e 74 20 74 6f 20 74 | 68 65 0a 70 6f 69 6e 74 |ent to t|he.point|
|00000c60| 2e 0a 0a 49 66 20 60 74 | 65 6d 70 6f 2d 6d 61 74 |...If `t|empo-mat|
|00000c70| 63 68 2d 66 69 6e 64 65 | 72 27 20 69 73 20 61 20 |ch-finde|r' is a |
|00000c80| 73 79 6d 62 6f 6c 2c 20 | 69 74 20 73 68 6f 75 6c |symbol, |it shoul|
|00000c90| 64 20 62 65 20 61 20 66 | 75 6e 63 74 69 6f 6e 20 |d be a f|unction |
|00000ca0| 74 68 61 74 0a 72 65 74 | 75 72 6e 73 20 61 20 70 |that.ret|urns a p|
|00000cb0| 61 69 72 20 6f 66 20 74 | 68 65 20 66 6f 72 6d 20 |air of t|he form |
|00000cc0| 28 53 54 52 49 4e 47 20 | 2e 20 50 4f 53 29 2c 20 |(STRING |. POS), |
|00000cd0| 77 68 65 72 65 20 53 54 | 52 49 4e 47 20 69 73 20 |where ST|RING is |
|00000ce0| 74 68 65 20 73 74 72 69 | 6e 67 0a 75 73 65 64 20 |the stri|ng.used |
|00000cf0| 66 6f 72 20 6d 61 74 63 | 68 69 6e 67 20 61 6e 64 |for matc|hing and|
|00000d00| 20 50 4f 53 20 69 73 20 | 74 68 65 20 62 75 66 66 | POS is |the buff|
|00000d10| 65 72 20 70 6f 73 69 74 | 69 6f 6e 20 61 66 74 65 |er posit|ion afte|
|00000d20| 72 20 77 68 69 63 68 20 | 74 65 78 74 0a 73 68 6f |r which |text.sho|
|00000d30| 75 6c 64 20 62 65 20 72 | 65 70 6c 61 63 65 64 20 |uld be r|eplaced |
|00000d40| 77 69 74 68 20 61 20 74 | 65 6d 70 6c 61 74 65 2e |with a t|emplate.|
|00000d50| 1f 0a 28 64 65 66 76 61 | 72 20 74 65 6d 70 6f 2d |..(defva|r tempo-|
|00000d60| 6d 61 74 63 68 2d 66 69 | 6e 64 65 72 20 22 5c 5c |match-fi|nder "\\|
|00000d70| 62 5c 5c 28 5b 5e 5c 5c | 62 5d 2b 5c 5c 29 5c 5c |b\\([^\\|b]+\\)\\|
|00000d80| 3d 22 20 28 23 24 20 2e | 20 32 35 35 30 29 29 0a |=" (#$ .| 2550)).|
|00000d90| 23 40 32 33 32 20 45 6c | 65 6d 65 6e 74 20 68 61 |#@232 El|ement ha|
|00000da0| 6e 64 6c 65 72 73 20 66 | 6f 72 20 75 73 65 72 2d |ndlers f|or user-|
|00000db0| 64 65 66 69 6e 65 64 20 | 65 6c 65 6d 65 6e 74 73 |defined |elements|
|00000dc0| 2e 0a 41 20 6c 69 73 74 | 20 6f 66 20 73 79 6d 62 |..A list| of symb|
|00000dd0| 6f 6c 73 20 77 68 69 63 | 68 20 61 72 65 20 62 6f |ols whic|h are bo|
|00000de0| 75 6e 64 20 74 6f 20 66 | 75 6e 63 74 69 6f 6e 73 |und to f|unctions|
|00000df0| 20 74 68 61 74 20 74 61 | 6b 65 20 6f 6e 65 20 61 | that ta|ke one a|
|00000e00| 72 67 75 6d 65 6e 74 2e | 0a 54 68 69 73 20 66 75 |rgument.|.This fu|
|00000e10| 6e 63 74 69 6f 6e 20 73 | 68 6f 75 6c 64 20 72 65 |nction s|hould re|
|00000e20| 74 75 72 6e 20 73 6f 6d | 65 74 68 69 6e 67 20 74 |turn som|ething t|
|00000e30| 6f 20 62 65 20 73 65 6e | 74 20 74 6f 20 60 74 65 |o be sen|t to `te|
|00000e40| 6d 70 6f 2d 69 6e 73 65 | 72 74 27 20 69 66 0a 69 |mpo-inse|rt' if.i|
|00000e50| 74 20 72 65 63 6f 67 6e | 69 7a 65 73 20 74 68 65 |t recogn|izes the|
|00000e60| 20 61 72 67 75 6d 65 6e | 74 2c 20 61 6e 64 20 4e | argumen|t, and N|
|00000e70| 49 4c 20 6f 74 68 65 72 | 77 69 73 65 1f 0a 28 64 |IL other|wise..(d|
|00000e80| 65 66 76 61 72 20 74 65 | 6d 70 6f 2d 75 73 65 72 |efvar te|mpo-user|
|00000e90| 2d 65 6c 65 6d 65 6e 74 | 73 20 6e 69 6c 20 28 23 |-element|s nil (#|
|00000ea0| 24 20 2e 20 33 34 37 38 | 29 29 0a 23 40 34 30 20 |$ . 3478|)).#@40 |
|00000eb0| 54 65 6d 70 6f 72 61 72 | 79 20 73 74 6f 72 61 67 |Temporar|y storag|
|00000ec0| 65 20 66 6f 72 20 6e 61 | 6d 65 64 20 69 6e 73 65 |e for na|med inse|
|00000ed0| 72 74 69 6f 6e 73 1f 0a | 28 64 65 66 76 61 72 20 |rtions..|(defvar |
|00000ee0| 74 65 6d 70 6f 2d 6e 61 | 6d 65 64 2d 69 6e 73 65 |tempo-na|med-inse|
|00000ef0| 72 74 69 6f 6e 73 20 6e | 69 6c 20 28 23 24 20 2e |rtions n|il (#$ .|
|00000f00| 20 33 37 36 30 29 29 0a | 23 40 34 37 20 52 65 67 | 3760)).|#@47 Reg|
|00000f10| 69 6f 6e 20 73 74 61 72 | 74 20 77 68 65 6e 20 69 |ion star|t when i|
|00000f20| 6e 73 65 72 74 69 6e 67 | 20 61 72 6f 75 6e 64 20 |nserting| around |
|00000f30| 74 68 65 20 72 65 67 69 | 6f 6e 1f 0a 28 64 65 66 |the regi|on..(def|
|00000f40| 76 61 72 20 74 65 6d 70 | 6f 2d 72 65 67 69 6f 6e |var temp|o-region|
|00000f50| 2d 73 74 61 72 74 20 28 | 6d 61 6b 65 2d 6d 61 72 |-start (|make-mar|
|00000f60| 6b 65 72 29 20 28 23 24 | 20 2e 20 33 38 35 33 29 |ker) (#$| . 3853)|
|00000f70| 29 0a 23 40 34 36 20 52 | 65 67 69 6f 6e 20 73 74 |).#@46 R|egion st|
|00000f80| 6f 70 20 77 68 65 6e 20 | 69 6e 73 65 72 74 69 6e |op when |insertin|
|00000f90| 67 20 61 72 6f 75 6e 64 | 20 74 68 65 20 72 65 67 |g around| the reg|
|00000fa0| 69 6f 6e 1f 0a 28 64 65 | 66 76 61 72 20 74 65 6d |ion..(de|fvar tem|
|00000fb0| 70 6f 2d 72 65 67 69 6f | 6e 2d 73 74 6f 70 20 28 |po-regio|n-stop (|
|00000fc0| 6d 61 6b 65 2d 6d 61 72 | 6b 65 72 29 20 28 23 24 |make-mar|ker) (#$|
|00000fd0| 20 2e 20 33 39 35 39 29 | 29 0a 28 62 79 74 65 2d | . 3959)|).(byte-|
|00000fe0| 63 6f 64 65 20 22 c0 c1 | 21 88 c0 c2 21 88 c0 c3 |code "..|!...!...|
|00000ff0| 21 88 c0 c4 21 88 c0 c5 | 21 87 22 20 5b 6d 61 6b |!...!...|!." [mak|
|00001000| 65 2d 76 61 72 69 61 62 | 6c 65 2d 62 75 66 66 65 |e-variab|le-buffe|
|00001010| 72 2d 6c 6f 63 61 6c 20 | 74 65 6d 70 6f 2d 6d 61 |r-local |tempo-ma|
|00001020| 72 6b 73 20 74 65 6d 70 | 6f 2d 6c 6f 63 61 6c 2d |rks temp|o-local-|
|00001030| 74 61 67 73 20 74 65 6d | 70 6f 2d 6d 61 74 63 68 |tags tem|po-match|
|00001040| 2d 66 69 6e 64 65 72 20 | 74 65 6d 70 6f 2d 63 6f |-finder |tempo-co|
|00001050| 6c 6c 65 63 74 69 6f 6e | 20 74 65 6d 70 6f 2d 64 |llection| tempo-d|
|00001060| 69 72 74 79 2d 63 6f 6c | 6c 65 63 74 69 6f 6e 5d |irty-col|lection]|
|00001070| 20 32 29 0a 28 64 65 66 | 61 6c 69 61 73 20 27 74 | 2).(def|alias 't|
|00001080| 65 6d 70 6f 2d 6d 61 70 | 63 20 23 5b 28 66 75 6e |empo-map|c #[(fun|
|00001090| 20 6c 73 74 29 20 22 08 | 85 0e 00 09 08 40 21 88 | lst) ".|.....@!.|
|000010a0| c2 09 08 41 5c 22 87 22 | 20 5b 6c 73 74 20 66 75 |...A\"."| [lst fu|
|000010b0| 6e 20 74 65 6d 70 6f 2d | 6d 61 70 63 5d 20 33 5d |n tempo-|mapc] 3]|
|000010c0| 29 0a 28 64 65 66 61 6c | 69 61 73 20 27 74 65 6d |).(defal|ias 'tem|
|000010d0| 70 6f 2d 64 6f 6c 69 73 | 74 20 27 28 6d 61 63 72 |po-dolis|t '(macr|
|000010e0| 6f 20 2e 20 23 5b 28 69 | 6c 20 26 72 65 73 74 20 |o . #[(i|l &rest |
|000010f0| 66 6f 72 6d 73 29 20 22 | 08 40 08 41 40 19 1a c3 |forms) "|.@.A@...|
|00001100| c4 c5 c6 5c 6e 43 44 0e | 07 5c 22 44 09 45 2a 87 |...\nCD.|.\"D.E*.|
|00001110| 22 20 5b 69 6c 20 6c 20 | 69 20 74 65 6d 70 6f 2d |" [il l |i tempo-|
|00001120| 6d 61 70 63 20 66 75 6e | 63 74 69 6f 6e 20 61 70 |mapc fun|ction ap|
|00001130| 70 65 6e 64 20 6c 61 6d | 62 64 61 20 66 6f 72 6d |pend lam|bda form|
|00001140| 73 5d 20 35 5d 29 29 0a | 28 70 75 74 20 28 71 75 |s] 5])).|(put (qu|
|00001150| 6f 74 65 20 74 65 6d 70 | 6f 2d 64 6f 6c 69 73 74 |ote temp|o-dolist|
|00001160| 29 20 28 71 75 6f 74 65 | 20 6c 69 73 70 2d 69 6e |) (quote| lisp-in|
|00001170| 64 65 6e 74 2d 66 75 6e | 63 74 69 6f 6e 29 20 31 |dent-fun|ction) 1|
|00001180| 29 0a 23 40 32 39 31 38 | 20 44 65 66 69 6e 65 20 |).#@2918| Define |
|00001190| 61 20 74 65 6d 70 6c 61 | 74 65 2e 0a 54 68 69 73 |a templa|te..This|
|000011a0| 20 66 75 6e 63 74 69 6f | 6e 20 63 72 65 61 74 65 | functio|n create|
|000011b0| 73 20 61 20 74 65 6d 70 | 6c 61 74 65 20 76 61 72 |s a temp|late var|
|000011c0| 69 61 62 6c 65 20 60 74 | 65 6d 70 6f 2d 74 65 6d |iable `t|empo-tem|
|000011d0| 70 6c 61 74 65 2d 4e 41 | 4d 45 27 20 61 6e 64 20 |plate-NA|ME' and |
|000011e0| 61 6e 0a 69 6e 74 65 72 | 61 63 74 69 76 65 20 66 |an.inter|active f|
|000011f0| 75 6e 63 74 69 6f 6e 20 | 60 74 65 6d 70 6f 2d 74 |unction |`tempo-t|
|00001200| 65 6d 70 6c 61 74 65 2d | 4e 41 4d 45 27 20 74 68 |emplate-|NAME' th|
|00001210| 61 74 20 69 6e 73 65 72 | 74 73 20 74 68 65 20 74 |at inser|ts the t|
|00001220| 65 6d 70 6c 61 74 65 0a | 61 74 20 74 68 65 20 70 |emplate.|at the p|
|00001230| 6f 69 6e 74 2e 20 20 54 | 68 65 20 63 72 65 61 74 |oint. T|he creat|
|00001240| 65 64 20 66 75 6e 63 74 | 69 6f 6e 20 69 73 20 72 |ed funct|ion is r|
|00001250| 65 74 75 72 6e 65 64 2e | 0a 0a 4e 41 4d 45 20 69 |eturned.|..NAME i|
|00001260| 73 20 61 20 73 74 72 69 | 6e 67 20 74 68 61 74 20 |s a stri|ng that |
|00001270| 63 6f 6e 74 61 69 6e 73 | 20 74 68 65 20 6e 61 6d |contains| the nam|
|00001280| 65 20 6f 66 20 74 68 65 | 20 74 65 6d 70 6c 61 74 |e of the| templat|
|00001290| 65 2c 20 45 4c 45 4d 45 | 4e 54 53 20 69 73 20 61 |e, ELEME|NTS is a|
|000012a0| 0a 6c 69 73 74 20 6f 66 | 20 65 6c 65 6d 65 6e 74 |.list of| element|
|000012b0| 73 20 69 6e 20 74 68 65 | 20 74 65 6d 70 6c 61 74 |s in the| templat|
|000012c0| 65 2c 20 54 41 47 20 69 | 73 20 74 68 65 20 74 61 |e, TAG i|s the ta|
|000012d0| 67 20 75 73 65 64 20 66 | 6f 72 20 63 6f 6d 70 6c |g used f|or compl|
|000012e0| 65 74 69 6f 6e 2c 0a 44 | 4f 43 55 4d 45 4e 54 41 |etion,.D|OCUMENTA|
|000012f0| 54 49 4f 4e 20 69 73 20 | 74 68 65 20 64 6f 63 75 |TION is |the docu|
|00001300| 6d 65 6e 74 61 74 69 6f | 6e 20 73 74 72 69 6e 67 |mentatio|n string|
|00001310| 20 66 6f 72 20 74 68 65 | 20 69 6e 73 65 72 74 69 | for the| inserti|
|00001320| 6f 6e 20 63 6f 6d 6d 61 | 6e 64 0a 63 72 65 61 74 |on comma|nd.creat|
|00001330| 65 64 2c 20 61 6e 64 20 | 54 41 47 4c 49 53 54 20 |ed, and |TAGLIST |
|00001340| 28 61 20 73 79 6d 62 6f | 6c 29 20 69 73 20 74 68 |(a symbo|l) is th|
|00001350| 65 20 74 61 67 20 6c 69 | 73 74 20 74 68 61 74 20 |e tag li|st that |
|00001360| 54 41 47 20 28 69 66 20 | 70 72 6f 76 69 64 65 64 |TAG (if |provided|
|00001370| 29 0a 73 68 6f 75 6c 64 | 20 62 65 20 61 64 64 65 |).should| be adde|
|00001380| 64 20 74 6f 29 2e 20 20 | 49 66 20 54 41 47 4c 49 |d to). |If TAGLI|
|00001390| 53 54 20 69 73 20 6e 69 | 6c 20 61 6e 64 20 54 41 |ST is ni|l and TA|
|000013a0| 47 20 69 73 20 6e 6f 6e | 2d 6e 69 6c 2c 20 54 41 |G is non|-nil, TA|
|000013b0| 47 20 69 73 0a 61 64 64 | 65 64 20 74 6f 20 60 74 |G is.add|ed to `t|
|000013c0| 65 6d 70 6f 2d 74 61 67 | 73 27 0a 0a 54 68 65 20 |empo-tag|s'..The |
|000013d0| 65 6c 65 6d 65 6e 74 73 | 20 69 6e 20 45 4c 45 4d |elements| in ELEM|
|000013e0| 45 4e 54 53 20 63 61 6e | 20 62 65 20 6f 66 20 73 |ENTS can| be of s|
|000013f0| 65 76 65 72 61 6c 20 74 | 79 70 65 73 3a 0a 0a 20 |everal t|ypes:.. |
|00001400| 2d 20 41 20 73 74 72 69 | 6e 67 2e 20 49 74 20 69 |- A stri|ng. It i|
|00001410| 73 20 73 65 6e 74 20 74 | 6f 20 74 68 65 20 68 6f |s sent t|o the ho|
|00001420| 6f 6b 73 20 69 6e 20 60 | 74 65 6d 70 6f 2d 69 6e |oks in `|tempo-in|
|00001430| 73 65 72 74 2d 73 74 72 | 69 6e 67 2d 66 75 6e 63 |sert-str|ing-func|
|00001440| 74 69 6f 6e 73 27 2c 0a | 20 20 20 61 6e 64 20 74 |tions',.| and t|
|00001450| 68 65 20 72 65 73 75 6c | 74 20 69 73 20 69 6e 73 |he resul|t is ins|
|00001460| 65 72 74 65 64 2e 0a 20 | 2d 20 54 68 65 20 73 79 |erted.. |- The sy|
|00001470| 6d 62 6f 6c 20 27 70 2e | 20 54 68 69 73 20 70 6f |mbol 'p.| This po|
|00001480| 73 69 74 69 6f 6e 20 69 | 73 20 73 61 76 65 64 20 |sition i|s saved |
|00001490| 69 6e 20 60 74 65 6d 70 | 6f 2d 6d 61 72 6b 73 27 |in `temp|o-marks'|
|000014a0| 2e 0a 20 2d 20 54 68 65 | 20 73 79 6d 62 6f 6c 20 |.. - The| symbol |
|000014b0| 27 72 2e 20 49 66 20 60 | 74 65 6d 70 6f 2d 69 6e |'r. If `|tempo-in|
|000014c0| 73 65 72 74 27 20 69 73 | 20 63 61 6c 6c 65 64 20 |sert' is| called |
|000014d0| 77 69 74 68 20 4f 4e 2d | 52 45 47 49 4f 4e 20 6e |with ON-|REGION n|
|000014e0| 6f 6e 2d 6e 69 6c 0a 20 | 20 20 74 68 65 20 63 75 |on-nil. | the cu|
|000014f0| 72 72 65 6e 74 20 72 65 | 67 69 6f 6e 20 69 73 20 |rrent re|gion is |
|00001500| 70 6c 61 63 65 64 20 68 | 65 72 65 2e 20 4f 74 68 |placed h|ere. Oth|
|00001510| 65 72 77 69 73 65 20 69 | 74 20 77 6f 72 6b 73 20 |erwise i|t works |
|00001520| 6c 69 6b 65 20 27 70 2e | 0a 20 2d 20 28 70 20 50 |like 'p.|. - (p P|
|00001530| 52 4f 4d 50 54 20 3c 4e | 41 4d 45 3e 20 3c 4e 4f |ROMPT <N|AME> <NO|
|00001540| 49 4e 53 45 52 54 3e 29 | 20 49 66 20 60 74 65 6d |INSERT>)| If `tem|
|00001550| 70 6f 2d 69 6e 74 65 72 | 61 63 74 69 76 65 27 20 |po-inter|active' |
|00001560| 69 73 20 6e 6f 6e 2d 6e | 69 6c 2c 20 74 68 65 0a |is non-n|il, the.|
|00001570| 20 20 20 75 73 65 72 20 | 69 73 20 70 72 6f 6d 70 | user |is promp|
|00001580| 74 65 64 20 69 6e 20 74 | 68 65 20 6d 69 6e 62 75 |ted in t|he minbu|
|00001590| 66 66 65 72 20 77 69 74 | 68 20 50 52 4f 4d 50 54 |ffer wit|h PROMPT|
|000015a0| 20 66 6f 72 20 61 20 73 | 74 72 69 6e 67 20 74 6f | for a s|tring to|
|000015b0| 20 62 65 0a 20 20 20 69 | 6e 73 65 72 74 65 64 2e | be. i|nserted.|
|000015c0| 20 49 66 20 74 68 65 20 | 6f 70 74 69 6f 6e 61 6c | If the |optional|
|000015d0| 20 70 61 72 61 6d 65 74 | 65 72 20 4e 41 4d 45 20 | paramet|er NAME |
|000015e0| 69 73 20 6e 6f 6e 2d 6e | 69 6c 2c 20 74 68 65 20 |is non-n|il, the |
|000015f0| 74 65 78 74 20 69 73 0a | 20 20 20 73 61 76 65 64 |text is.| saved|
|00001600| 20 66 6f 72 20 6c 61 74 | 65 72 20 69 6e 73 65 72 | for lat|er inser|
|00001610| 74 69 6f 6e 20 77 69 74 | 68 20 74 68 65 20 60 73 |tion wit|h the `s|
|00001620| 27 20 74 61 67 2e 20 49 | 66 20 74 68 65 72 65 20 |' tag. I|f there |
|00001630| 61 6c 72 65 61 64 79 20 | 69 73 0a 20 20 20 73 6f |already |is. so|
|00001640| 6d 65 74 68 69 6e 67 20 | 73 61 76 65 64 20 75 6e |mething |saved un|
|00001650| 64 65 72 20 4e 41 4d 45 | 20 74 68 61 74 20 76 61 |der NAME| that va|
|00001660| 6c 75 65 20 69 73 20 75 | 73 65 64 20 69 6e 73 74 |lue is u|sed inst|
|00001670| 65 61 64 20 61 6e 64 20 | 6e 6f 0a 20 20 20 70 72 |ead and |no. pr|
|00001680| 6f 6d 70 74 69 6e 67 20 | 69 73 20 6d 61 64 65 2e |ompting |is made.|
|00001690| 20 49 66 20 4e 4f 49 4e | 53 45 52 54 20 69 73 20 | If NOIN|SERT is |
|000016a0| 70 72 6f 76 69 64 65 64 | 20 61 6e 64 20 6e 6f 6e |provided| and non|
|000016b0| 2d 6e 69 6c 2c 20 6e 6f | 74 68 69 6e 67 20 69 73 |-nil, no|thing is|
|000016c0| 0a 20 20 20 69 6e 73 65 | 72 74 65 64 2c 20 62 75 |. inse|rted, bu|
|000016d0| 74 20 74 65 78 74 20 69 | 73 20 73 74 69 6c 6c 20 |t text i|s still |
|000016e0| 73 61 76 65 64 20 77 68 | 65 6e 20 61 20 4e 41 4d |saved wh|en a NAM|
|000016f0| 45 20 69 73 20 70 72 6f | 76 69 64 65 64 2e 20 46 |E is pro|vided. F|
|00001700| 6f 72 0a 20 20 20 63 6c | 61 72 69 74 79 2c 20 74 |or. cl|arity, t|
|00001710| 68 65 20 73 79 6d 62 6f | 6c 20 27 6e 6f 69 6e 73 |he symbo|l 'noins|
|00001720| 65 72 74 20 73 68 6f 75 | 6c 64 20 62 65 20 75 73 |ert shou|ld be us|
|00001730| 65 64 20 61 73 20 61 72 | 67 75 6d 65 6e 74 2e 0a |ed as ar|gument..|
|00001740| 20 2d 20 28 50 20 50 52 | 4f 4d 50 54 20 3c 4e 41 | - (P PR|OMPT <NA|
|00001750| 4d 45 3e 20 3c 4e 4f 49 | 4e 53 45 52 54 3e 29 20 |ME> <NOI|NSERT>) |
|00001760| 57 6f 72 6b 73 20 6a 75 | 73 74 20 6c 69 6b 65 20 |Works ju|st like |
|00001770| 74 68 65 20 70 72 65 76 | 69 6f 75 73 20 74 61 67 |the prev|ious tag|
|00001780| 2c 20 62 75 74 0a 20 20 | 20 66 6f 72 63 65 73 20 |, but. | forces |
|00001790| 74 65 6d 70 6f 2d 69 6e | 74 65 72 61 63 74 69 76 |tempo-in|teractiv|
|000017a0| 65 20 74 6f 20 62 65 20 | 74 72 75 65 2e 0a 20 2d |e to be |true.. -|
|000017b0| 20 28 72 20 50 52 4f 4d | 50 54 20 3c 4e 41 4d 45 | (r PROM|PT <NAME|
|000017c0| 3e 20 3c 4e 4f 49 4e 53 | 45 52 54 3e 29 20 6c 69 |> <NOINS|ERT>) li|
|000017d0| 6b 65 20 74 68 65 20 70 | 72 65 76 69 6f 75 73 2c |ke the p|revious,|
|000017e0| 20 62 75 74 20 69 66 0a | 20 20 20 60 74 65 6d 70 | but if.| `temp|
|000017f0| 6f 2d 69 6e 74 65 72 61 | 63 74 69 76 65 27 20 69 |o-intera|ctive' i|
|00001800| 73 20 6e 69 6c 20 61 6e | 64 20 60 74 65 6d 70 6f |s nil an|d `tempo|
|00001810| 2d 69 6e 73 65 72 74 27 | 20 69 73 20 63 61 6c 6c |-insert'| is call|
|00001820| 65 64 20 77 69 74 68 0a | 20 20 20 4f 4e 2d 52 45 |ed with.| ON-RE|
|00001830| 47 49 4f 4e 20 6e 6f 6e | 2d 6e 69 6c 2c 20 74 68 |GION non|-nil, th|
|00001840| 65 20 63 75 72 72 65 6e | 74 20 72 65 67 69 6f 6e |e curren|t region|
|00001850| 20 69 73 20 70 6c 61 63 | 65 64 20 68 65 72 65 2e | is plac|ed here.|
|00001860| 20 54 68 69 73 20 75 73 | 75 61 6c 6c 79 0a 20 20 | This us|ually. |
|00001870| 20 68 61 70 70 65 6e 73 | 20 77 68 65 6e 20 79 6f | happens| when yo|
|00001880| 75 20 63 61 6c 6c 20 74 | 68 65 20 74 65 6d 70 6c |u call t|he templ|
|00001890| 61 74 65 20 66 75 6e 63 | 74 69 6f 6e 20 77 69 74 |ate func|tion wit|
|000018a0| 68 20 61 20 70 72 65 66 | 69 78 20 61 72 67 75 6d |h a pref|ix argum|
|000018b0| 65 6e 74 2e 0a 20 2d 20 | 28 73 20 4e 41 4d 45 29 |ent.. - |(s NAME)|
|000018c0| 20 49 6e 73 65 72 74 73 | 20 74 65 78 74 20 70 72 | Inserts| text pr|
|000018d0| 65 76 69 6f 75 73 6c 79 | 20 72 65 61 64 20 77 69 |eviously| read wi|
|000018e0| 74 68 20 74 68 65 20 28 | 70 20 2e 2e 29 20 63 6f |th the (|p ..) co|
|000018f0| 6e 73 74 72 75 63 74 2e | 0a 20 20 20 46 69 6e 64 |nstruct.|. Find|
|00001900| 73 20 74 68 65 20 69 6e | 73 65 72 74 69 6f 6e 20 |s the in|sertion |
|00001910| 73 61 76 65 64 20 75 6e | 64 65 72 20 4e 41 4d 45 |saved un|der NAME|
|00001920| 20 61 6e 64 20 69 6e 73 | 65 72 74 73 20 69 74 2e | and ins|erts it.|
|00001930| 20 41 63 74 73 20 6c 69 | 6b 65 20 27 70 0a 20 20 | Acts li|ke 'p. |
|00001940| 20 69 66 20 74 65 6d 70 | 6f 2d 69 6e 74 65 72 61 | if temp|o-intera|
|00001950| 63 74 69 76 65 20 69 73 | 20 6e 69 6c 2e 0a 20 2d |ctive is| nil.. -|
|00001960| 20 27 26 20 49 66 20 74 | 68 65 72 65 20 69 73 20 | '& If t|here is |
|00001970| 6f 6e 6c 79 20 77 68 69 | 74 65 73 70 61 63 65 20 |only whi|tespace |
|00001980| 62 65 74 77 65 65 6e 20 | 74 68 65 20 6c 69 6e 65 |between |the line|
|00001990| 20 73 74 61 72 74 20 61 | 6e 64 20 70 6f 69 6e 74 | start a|nd point|
|000019a0| 2c 0a 20 20 20 6e 6f 74 | 68 69 6e 67 20 68 61 70 |,. not|hing hap|
|000019b0| 70 65 6e 73 2e 20 4f 74 | 68 65 72 77 69 73 65 20 |pens. Ot|herwise |
|000019c0| 61 20 6e 65 77 6c 69 6e | 65 20 69 73 20 69 6e 73 |a newlin|e is ins|
|000019d0| 65 72 74 65 64 2e 0a 20 | 2d 20 27 25 20 49 66 20 |erted.. |- '% If |
|000019e0| 74 68 65 72 65 20 69 73 | 20 6f 6e 6c 79 20 77 68 |there is| only wh|
|000019f0| 69 74 65 73 70 61 63 65 | 20 62 65 74 77 65 65 6e |itespace| between|
|00001a00| 20 70 6f 69 6e 74 20 61 | 6e 64 20 65 6e 64 2d 6f | point a|nd end-o|
|00001a10| 66 2d 6c 69 6e 65 0a 20 | 20 20 6e 6f 74 68 69 6e |f-line. | nothin|
|00001a20| 67 20 68 61 70 70 65 6e | 73 2e 20 4f 74 68 65 72 |g happen|s. Other|
|00001a30| 77 69 73 65 20 61 20 6e | 65 77 6c 69 6e 65 20 69 |wise a n|ewline i|
|00001a40| 73 20 69 6e 73 65 72 74 | 65 64 2e 0a 20 2d 20 27 |s insert|ed.. - '|
|00001a50| 6e 20 69 6e 73 65 72 74 | 73 20 61 20 6e 65 77 6c |n insert|s a newl|
|00001a60| 69 6e 65 2e 0a 20 2d 20 | 27 3e 20 54 68 65 20 6c |ine.. - |'> The l|
|00001a70| 69 6e 65 20 69 73 20 69 | 6e 64 65 6e 74 65 64 20 |ine is i|ndented |
|00001a80| 75 73 69 6e 67 20 60 69 | 6e 64 65 6e 74 2d 61 63 |using `i|ndent-ac|
|00001a90| 63 6f 72 64 69 6e 67 2d | 74 6f 2d 6d 6f 64 65 27 |cording-|to-mode'|
|00001aa0| 2e 20 4e 6f 74 65 20 74 | 68 61 74 0a 20 20 20 79 |. Note t|hat. y|
|00001ab0| 6f 75 20 6f 66 74 65 6e | 20 73 68 6f 75 6c 64 20 |ou often| should |
|00001ac0| 70 6c 61 63 65 20 74 68 | 69 73 20 69 74 65 6d 20 |place th|is item |
|00001ad0| 61 66 74 65 72 20 74 68 | 65 20 74 65 78 74 20 79 |after th|e text y|
|00001ae0| 6f 75 20 77 61 6e 74 20 | 6f 6e 20 74 68 65 0a 20 |ou want |on the. |
|00001af0| 20 20 6c 69 6e 65 2e 0a | 20 2d 20 27 72 3e 20 4c | line..| - 'r> L|
|00001b00| 69 6b 65 20 72 2c 20 62 | 75 74 20 69 74 20 61 6c |ike r, b|ut it al|
|00001b10| 73 6f 20 69 6e 64 65 6e | 74 73 20 74 68 65 20 72 |so inden|ts the r|
|00001b20| 65 67 69 6f 6e 2e 0a 20 | 2d 20 27 6e 3e 20 49 6e |egion.. |- 'n> In|
|00001b30| 73 65 72 74 73 20 61 20 | 6e 65 77 6c 69 6e 65 20 |serts a |newline |
|00001b40| 61 6e 64 20 69 6e 64 65 | 6e 74 73 20 6c 69 6e 65 |and inde|nts line|
|00001b50| 2e 0a 20 2d 20 27 6f 20 | 4c 69 6b 65 20 27 25 20 |.. - 'o |Like '% |
|00001b60| 62 75 74 20 6c 65 61 76 | 65 73 20 74 68 65 20 70 |but leav|es the p|
|00001b70| 6f 69 6e 74 20 62 65 66 | 6f 72 65 20 74 68 65 20 |oint bef|ore the |
|00001b80| 6e 65 77 6c 69 6e 65 2e | 0a 20 2d 20 6e 69 6c 2e |newline.|. - nil.|
|00001b90| 20 49 74 20 69 73 20 69 | 67 6e 6f 72 65 64 2e 0a | It is i|gnored..|
|00001ba0| 20 2d 20 41 6e 79 74 68 | 69 6e 67 20 65 6c 73 65 | - Anyth|ing else|
|00001bb0| 2e 20 49 74 20 69 73 20 | 65 76 61 6c 75 61 74 65 |. It is |evaluate|
|00001bc0| 64 20 61 6e 64 20 74 68 | 65 20 72 65 73 75 6c 74 |d and th|e result|
|00001bd0| 20 69 73 20 74 72 65 61 | 74 65 64 20 61 73 20 61 | is trea|ted as a|
|00001be0| 6e 0a 20 20 20 65 6c 65 | 6d 65 6e 74 20 74 6f 20 |n. ele|ment to |
|00001bf0| 62 65 20 69 6e 73 65 72 | 74 65 64 2e 20 4f 6e 65 |be inser|ted. One|
|00001c00| 20 61 64 64 69 74 69 6f | 6e 61 6c 20 74 61 67 20 | additio|nal tag |
|00001c10| 69 73 20 75 73 65 66 75 | 6c 20 66 6f 72 20 74 68 |is usefu|l for th|
|00001c20| 65 73 65 0a 20 20 20 63 | 61 73 65 73 2e 20 49 66 |ese. c|ases. If|
|00001c30| 20 61 6e 20 65 78 70 72 | 65 73 73 69 6f 6e 20 72 | an expr|ession r|
|00001c40| 65 74 75 72 6e 73 20 61 | 20 6c 69 73 74 20 27 28 |eturns a| list '(|
|00001c50| 6c 20 66 6f 6f 20 62 61 | 72 29 2c 20 74 68 65 20 |l foo ba|r), the |
|00001c60| 65 6c 65 6d 65 6e 74 73 | 0a 20 20 20 61 66 74 65 |elements|. afte|
|00001c70| 72 20 27 6c 20 77 69 6c | 6c 20 62 65 20 69 6e 73 |r 'l wil|l be ins|
|00001c80| 65 72 74 65 64 20 61 63 | 63 6f 72 64 69 6e 67 20 |erted ac|cording |
|00001c90| 74 6f 20 74 68 65 20 75 | 73 75 61 6c 20 72 75 6c |to the u|sual rul|
|00001ca0| 65 73 2e 20 54 68 69 73 | 20 6d 61 6b 65 73 0a 20 |es. This| makes. |
|00001cb0| 20 20 69 74 20 70 6f 73 | 73 69 62 6c 65 20 74 6f | it pos|sible to|
|00001cc0| 20 72 65 74 75 72 6e 20 | 73 65 76 65 72 61 6c 20 | return |several |
|00001cd0| 65 6c 65 6d 65 6e 74 73 | 20 66 72 6f 6d 20 6f 6e |elements| from on|
|00001ce0| 65 20 65 78 70 72 65 73 | 73 69 6f 6e 2e 1f 0a 28 |e expres|sion...(|
|00001cf0| 64 65 66 61 6c 69 61 73 | 20 27 74 65 6d 70 6f 2d |defalias| 'tempo-|
|00001d00| 64 65 66 69 6e 65 2d 74 | 65 6d 70 6c 61 74 65 20 |define-t|emplate |
|00001d10| 23 5b 28 6e 61 6d 65 20 | 65 6c 65 6d 65 6e 74 73 |#[(name |elements|
|00001d20| 20 26 6f 70 74 69 6f 6e | 61 6c 20 74 61 67 20 64 | &option|al tag d|
|00001d30| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 20 74 61 67 |ocumenta|tion tag|
|00001d40| 6c 69 73 74 29 20 22 c0 | c1 5c 6e 50 21 89 1b 1c |list) ".|.\nP!...|
|00001d50| 0b 0d 4c 88 5c 66 c6 c7 | c8 44 0e 09 86 1a 00 ca |..L.\f..|.D......|
|00001d60| 5c 6e cb 51 cc cd 44 ce | cf 0b 44 d0 d1 d2 c8 44 |\n.Q..D.|..D....D|
|00001d70| c8 46 45 af 05 4d 88 0e | 13 83 3a 00 d4 0e 13 0b |.FE..M..|..:.....|
|00001d80| 0e 15 23 88 5c 66 2a 87 | 22 20 5b 69 6e 74 65 72 |..#.\f*.|" [inter|
|00001d90| 6e 20 22 74 65 6d 70 6f | 2d 74 65 6d 70 6c 61 74 |n "tempo|-templat|
|00001da0| 65 2d 22 20 6e 61 6d 65 | 20 74 65 6d 70 6c 61 74 |e-" name| templat|
|00001db0| 65 2d 6e 61 6d 65 20 63 | 6f 6d 6d 61 6e 64 2d 6e |e-name c|ommand-n|
|00001dc0| 61 6d 65 20 65 6c 65 6d | 65 6e 74 73 20 6c 61 6d |ame elem|ents lam|
|00001dd0| 62 64 61 20 26 6f 70 74 | 69 6f 6e 61 6c 20 61 72 |bda &opt|ional ar|
|00001de0| 67 20 64 6f 63 75 6d 65 | 6e 74 61 74 69 6f 6e 20 |g docume|ntation |
|00001df0| 22 49 6e 73 65 72 74 20 | 61 20 22 20 22 2e 22 20 |"Insert |a " "." |
|00001e00| 69 6e 74 65 72 61 63 74 | 69 76 65 20 22 2a 50 22 |interact|ive "*P"|
|00001e10| 20 74 65 6d 70 6f 2d 69 | 6e 73 65 72 74 2d 74 65 | tempo-i|nsert-te|
|00001e20| 6d 70 6c 61 74 65 20 71 | 75 6f 74 65 20 69 66 20 |mplate q|uote if |
|00001e30| 74 65 6d 70 6f 2d 69 6e | 73 65 72 74 2d 72 65 67 |tempo-in|sert-reg|
|00001e40| 69 6f 6e 20 6e 6f 74 20 | 74 61 67 20 74 65 6d 70 |ion not |tag temp|
|00001e50| 6f 2d 61 64 64 2d 74 61 | 67 20 74 61 67 6c 69 73 |o-add-ta|g taglis|
|00001e60| 74 5d 20 31 32 20 28 23 | 24 20 2e 20 34 34 38 39 |t] 12 (#|$ . 4489|
|00001e70| 29 5d 29 0a 23 40 32 32 | 38 20 49 6e 73 65 72 74 |)]).#@22|8 Insert|
|00001e80| 20 61 20 74 65 6d 70 6c | 61 74 65 2e 0a 54 45 4d | a templ|ate..TEM|
|00001e90| 50 4c 41 54 45 20 69 73 | 20 74 68 65 20 74 65 6d |PLATE is| the tem|
|00001ea0| 70 6c 61 74 65 20 74 6f | 20 62 65 20 69 6e 73 65 |plate to| be inse|
|00001eb0| 72 74 65 64 2e 20 20 49 | 66 20 4f 4e 2d 52 45 47 |rted. I|f ON-REG|
|00001ec0| 49 4f 4e 20 69 73 20 6e | 6f 6e 2d 6e 69 6c 20 74 |ION is n|on-nil t|
|00001ed0| 68 65 0a 60 72 27 20 65 | 6c 65 6d 65 6e 74 73 20 |he.`r' e|lements |
|00001ee0| 61 72 65 20 72 65 70 6c | 61 63 65 64 20 77 69 74 |are repl|aced wit|
|00001ef0| 68 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 72 65 |h the cu|rrent re|
|00001f00| 67 69 6f 6e 2e 20 49 6e | 20 54 72 61 6e 73 69 65 |gion. In| Transie|
|00001f10| 6e 74 20 4d 61 72 6b 0a | 6d 6f 64 65 2c 20 4f 4e |nt Mark.|mode, ON|
|00001f20| 2d 52 45 47 49 4f 4e 20 | 69 73 20 69 67 6e 6f 72 |-REGION |is ignor|
|00001f30| 65 64 20 61 6e 64 20 61 | 73 73 75 6d 65 64 20 74 |ed and a|ssumed t|
|00001f40| 72 75 65 20 69 66 20 74 | 68 65 20 72 65 67 69 6f |rue if t|he regio|
|00001f50| 6e 20 69 73 20 61 63 74 | 69 76 65 2e 1f 0a 28 64 |n is act|ive...(d|
|00001f60| 65 66 61 6c 69 61 73 20 | 27 74 65 6d 70 6f 2d 69 |efalias |'tempo-i|
|00001f70| 6e 73 65 72 74 2d 74 65 | 6d 70 6c 61 74 65 20 23 |nsert-te|mplate #|
|00001f80| 5b 28 74 65 6d 70 6c 61 | 74 65 20 6f 6e 2d 72 65 |[(templa|te on-re|
|00001f90| 67 69 6f 6e 29 20 22 c0 | 8e c1 c2 21 83 10 00 5c |gion) ".|...!...\|
|00001fa0| 6e 83 10 00 0b 84 1f 00 | c1 c4 21 83 5c 22 00 5c |n.......|..!.\".\|
|00001fb0| 66 83 5c 22 00 c5 20 83 | 5c 22 00 c6 16 07 0e 07 |f.\".. .|\"......|
|00001fc0| 83 3b 00 0e 08 c5 20 60 | 5e c9 93 83 3b 00 0e 5c |.;.... `|^...;..\|
|00001fd0| 6e c5 20 60 5d c9 93 88 | 0e 07 83 44 00 0e 08 62 |n. `]...|...D...b|
|00001fe0| 88 8a cb cc 20 21 88 cd | ce 0e 0f 4a 5c 22 88 cb |.... !..|...J\"..|
|00001ff0| cc 20 21 88 29 d0 20 29 | 87 22 20 5b 28 28 62 79 |. !.). )|." [((by|
|00002000| 74 65 2d 63 6f 64 65 20 | 22 c0 20 88 c1 c2 21 83 |te-code |". ...!.|
|00002010| 17 00 5c 6e 83 17 00 5c | 6e 83 17 00 c3 14 c5 c6 |..\n...\|n.......|
|00002020| 21 88 c3 87 22 20 5b 74 | 65 6d 70 6f 2d 66 6f 72 |!..." [t|empo-for|
|00002030| 67 65 74 2d 69 6e 73 65 | 72 74 69 6f 6e 73 20 62 |get-inse|rtions b|
|00002040| 6f 75 6e 64 70 20 74 72 | 61 6e 73 69 65 6e 74 2d |oundp tr|ansient-|
|00002050| 6d 61 72 6b 2d 6d 6f 64 | 65 20 6e 69 6c 20 6d 61 |mark-mod|e nil ma|
|00002060| 72 6b 2d 61 63 74 69 76 | 65 20 72 75 6e 2d 68 6f |rk-activ|e run-ho|
|00002070| 6f 6b 73 20 64 65 61 63 | 74 69 76 61 74 65 2d 6d |oks deac|tivate-m|
|00002080| 61 72 6b 2d 68 6f 6f 6b | 5d 20 32 29 29 20 62 6f |ark-hook|] 2)) bo|
|00002090| 75 6e 64 70 20 74 72 61 | 6e 73 69 65 6e 74 2d 6d |undp tra|nsient-m|
|000020a0| 61 72 6b 2d 6d 6f 64 65 | 20 6d 61 72 6b 2d 61 63 |ark-mode| mark-ac|
|000020b0| 74 69 76 65 20 7a 6d 61 | 63 73 2d 72 65 67 69 6f |tive zma|cs-regio|
|000020c0| 6e 73 20 6d 61 72 6b 20 | 74 20 6f 6e 2d 72 65 67 |ns mark |t on-reg|
|000020d0| 69 6f 6e 20 74 65 6d 70 | 6f 2d 72 65 67 69 6f 6e |ion temp|o-region|
|000020e0| 2d 73 74 61 72 74 20 6e | 69 6c 20 74 65 6d 70 6f |-start n|il tempo|
|000020f0| 2d 72 65 67 69 6f 6e 2d | 73 74 6f 70 20 74 65 6d |-region-|stop tem|
|00002100| 70 6f 2d 69 6e 73 65 72 | 74 2d 6d 61 72 6b 20 70 |po-inser|t-mark p|
|00002110| 6f 69 6e 74 2d 6d 61 72 | 6b 65 72 20 6d 61 70 63 |oint-mar|ker mapc|
|00002120| 61 72 20 23 5b 28 65 6c | 74 29 20 22 c0 09 5c 6e |ar #[(el|t) "..\n|
|00002130| 5c 22 87 22 20 5b 74 65 | 6d 70 6f 2d 69 6e 73 65 |\"." [te|mpo-inse|
|00002140| 72 74 20 65 6c 74 20 6f | 6e 2d 72 65 67 69 6f 6e |rt elt o|n-region|
|00002150| 5d 20 33 5d 20 74 65 6d | 70 6c 61 74 65 20 74 65 |] 3] tem|plate te|
|00002160| 6d 70 6f 2d 66 6f 72 77 | 61 72 64 2d 6d 61 72 6b |mpo-forw|ard-mark|
|00002170| 5d 20 33 20 28 23 24 20 | 2e 20 37 38 30 32 29 5d |] 3 (#$ |. 7802)]|
|00002180| 29 0a 23 40 32 32 35 20 | 49 6e 73 65 72 74 20 61 |).#@225 |Insert a|
|00002190| 20 74 65 6d 70 6c 61 74 | 65 20 65 6c 65 6d 65 6e | templat|e elemen|
|000021a0| 74 2e 0a 49 6e 73 65 72 | 74 20 6f 6e 65 20 65 6c |t..Inser|t one el|
|000021b0| 65 6d 65 6e 74 20 66 72 | 6f 6d 20 61 20 74 65 6d |ement fr|om a tem|
|000021c0| 70 6c 61 74 65 2e 20 49 | 66 20 4f 4e 2d 52 45 47 |plate. I|f ON-REG|
|000021d0| 49 4f 4e 20 69 73 20 6e | 6f 6e 2d 6e 69 6c 20 74 |ION is n|on-nil t|
|000021e0| 68 65 20 60 72 27 0a 65 | 6c 65 6d 65 6e 74 73 20 |he `r'.e|lements |
|000021f0| 61 72 65 20 72 65 70 6c | 61 63 65 64 20 77 69 74 |are repl|aced wit|
|00002200| 68 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 72 65 |h the cu|rrent re|
|00002210| 67 69 6f 6e 2e 0a 0a 53 | 65 65 20 64 6f 63 75 6d |gion...S|ee docum|
|00002220| 65 6e 74 61 74 69 6f 6e | 20 66 6f 72 20 60 74 65 |entation| for `te|
|00002230| 6d 70 6f 2d 64 65 66 69 | 6e 65 2d 74 65 6d 70 6c |mpo-defi|ne-templ|
|00002240| 61 74 65 27 20 66 6f 72 | 20 74 68 65 20 6b 69 6e |ate' for| the kin|
|00002250| 64 20 6f 66 20 65 6c 65 | 6d 65 6e 74 73 0a 70 6f |d of ele|ments.po|
|00002260| 73 73 69 62 6c 65 2e 1f | 0a 28 64 65 66 61 6c 69 |ssible..|.(defali|
|00002270| 61 73 20 27 74 65 6d 70 | 6f 2d 69 6e 73 65 72 74 |as 'temp|o-insert|
|00002280| 20 23 5b 28 65 6c 65 6d | 65 6e 74 20 6f 6e 2d 72 | #[(elem|ent on-r|
|00002290| 65 67 69 6f 6e 29 20 22 | 08 3b 83 09 00 c1 08 21 |egion) "|.;.....!|
|000022a0| 87 08 3a 83 1a 00 08 40 | c2 3d 83 1a 00 c3 08 41 |..:....@|.=.....A|
|000022b0| 21 87 08 3a 83 2f 00 08 | 40 c4 3d 83 2f 00 c5 1e |!..:./..|@.=./...|
|000022c0| 06 c3 08 41 21 29 87 08 | 3a 83 49 00 08 40 c7 3d |...A!)..|:.I..@.=|
|000022d0| 83 49 00 0e 08 83 44 00 | 0e 09 62 87 c3 08 41 21 |.I....D.|..b...A!|
|000022e0| 87 08 3a 83 5b 00 08 40 | ca 3d 83 5b 00 cb 08 41 |..:.[..@|.=.[...A|
|000022f0| 40 21 87 08 3a 83 6d 00 | 08 40 cc 3d 83 6d 00 cd |@!..:.m.|.@.=.m..|
|00002300| ce 08 41 5c 22 87 08 c2 | 3d 83 78 00 cf d0 20 21 |..A\"...|=.x... !|
|00002310| 87 08 c7 3d 83 8c 00 0e | 08 83 87 00 0e 09 62 87 |...=....|......b.|
|00002320| cf d0 20 21 87 08 d1 3d | 83 a7 00 0e 08 83 a2 00 |.. !...=|........|
|00002330| 0e 09 62 88 d2 d3 20 60 | d4 23 87 cf d0 20 21 87 |..b... `|.#... !.|
|00002340| 08 d5 3d 83 b0 00 d6 20 | 87 08 d7 3d 83 ca 00 69 |..=.... |...=...i|
|00002350| d8 55 86 c3 00 8a d9 da | d4 c5 23 29 3f 85 27 01 |.U......|..#)?.'.|
|00002360| db 63 87 08 dc 3d 83 e2 | 00 6c 86 db 00 8a dd de |.c...=..|.l......|
|00002370| d4 c5 23 29 3f 85 27 01 | db 63 87 08 df 3d 83 eb |..#)?.'.|.c...=..|
|00002380| 00 db 63 87 08 e0 3d 83 | f7 00 db 63 88 d6 20 87 |..c...=.|...c.. .|
|00002390| 08 e1 3d 83 15 01 0e 08 | 86 0d 01 6c 86 0d 01 8a |..=.....|...l....|
|000023a0| dd de d4 c5 23 29 3f 85 | 27 01 e2 e3 21 87 08 3f |....#)?.|'...!..?|
|000023b0| 86 27 01 e4 e5 08 21 86 | 24 01 e6 08 21 0e 08 5c |.'....!.|$...!..\|
|000023c0| 22 87 22 20 5b 65 6c 65 | 6d 65 6e 74 20 74 65 6d |"." [ele|ment tem|
|000023d0| 70 6f 2d 70 72 6f 63 65 | 73 73 2d 61 6e 64 2d 69 |po-proce|ss-and-i|
|000023e0| 6e 73 65 72 74 2d 73 74 | 72 69 6e 67 20 70 20 74 |nsert-st|ring p t|
|000023f0| 65 6d 70 6f 2d 69 6e 73 | 65 72 74 2d 70 72 6f 6d |empo-ins|ert-prom|
|00002400| 70 74 2d 63 6f 6d 70 61 | 74 20 50 20 74 20 74 65 |pt-compa|t P t te|
|00002410| 6d 70 6f 2d 69 6e 74 65 | 72 61 63 74 69 76 65 20 |mpo-inte|ractive |
|00002420| 72 20 6f 6e 2d 72 65 67 | 69 6f 6e 20 74 65 6d 70 |r on-reg|ion temp|
|00002430| 6f 2d 72 65 67 69 6f 6e | 2d 73 74 6f 70 20 73 20 |o-region|-stop s |
|00002440| 74 65 6d 70 6f 2d 69 6e | 73 65 72 74 2d 6e 61 6d |tempo-in|sert-nam|
|00002450| 65 64 20 6c 20 6d 61 70 | 63 61 72 20 23 5b 28 65 |ed l map|car #[(e|
|00002460| 6c 74 29 20 22 c0 09 5c | 6e 5c 22 87 22 20 5b 74 |lt) "..\|n\"." [t|
|00002470| 65 6d 70 6f 2d 69 6e 73 | 65 72 74 20 65 6c 74 20 |empo-ins|ert elt |
|00002480| 6f 6e 2d 72 65 67 69 6f | 6e 5d 20 33 5d 20 74 65 |on-regio|n] 3] te|
|00002490| 6d 70 6f 2d 69 6e 73 65 | 72 74 2d 6d 61 72 6b 20 |mpo-inse|rt-mark |
|000024a0| 70 6f 69 6e 74 2d 6d 61 | 72 6b 65 72 20 72 3e 20 |point-ma|rker r> |
|000024b0| 69 6e 64 65 6e 74 2d 72 | 65 67 69 6f 6e 20 6d 61 |indent-r|egion ma|
|000024c0| 72 6b 20 6e 69 6c 20 3e | 20 69 6e 64 65 6e 74 2d |rk nil >| indent-|
|000024d0| 61 63 63 6f 72 64 69 6e | 67 2d 74 6f 2d 6d 6f 64 |accordin|g-to-mod|
|000024e0| 65 20 26 20 30 20 72 65 | 2d 73 65 61 72 63 68 2d |e & 0 re|-search-|
|000024f0| 62 61 63 6b 77 61 72 64 | 20 22 5e 5c 5c 73 2d 2a |backward| "^\\s-*|
|00002500| 5c 5c 3d 22 20 22 5c 6e | 22 20 25 20 72 65 2d 73 |\\=" "\n|" % re-s|
|00002510| 65 61 72 63 68 2d 66 6f | 72 77 61 72 64 20 22 5c |earch-fo|rward "\|
|00002520| 5c 3d 5c 5c 73 2d 2a 24 | 22 20 6e 20 6e 3e 20 6f |\=\\s-*$|" n n> o|
|00002530| 20 6f 70 65 6e 2d 6c 69 | 6e 65 20 31 20 74 65 6d | open-li|ne 1 tem|
|00002540| 70 6f 2d 69 6e 73 65 72 | 74 20 74 65 6d 70 6f 2d |po-inser|t tempo-|
|00002550| 69 73 2d 75 73 65 72 2d | 65 6c 65 6d 65 6e 74 20 |is-user-|element |
|00002560| 65 76 61 6c 5d 20 34 20 | 28 23 24 20 2e 20 38 35 |eval] 4 |(#$ . 85|
|00002570| 38 34 29 5d 29 0a 23 40 | 31 33 38 20 43 6f 6d 70 |84)]).#@|138 Comp|
|00002580| 61 74 69 62 69 6c 69 74 | 79 20 68 61 63 6b 20 66 |atibilit|y hack f|
|00002590| 6f 72 20 74 65 6d 70 6f | 2d 69 6e 73 65 72 74 2d |or tempo|-insert-|
|000025a0| 70 72 6f 6d 70 74 2e 0a | 50 52 4f 4d 50 54 20 63 |prompt..|PROMPT c|
|000025b0| 61 6e 20 62 65 20 65 69 | 74 68 65 72 20 61 20 70 |an be ei|ther a p|
|000025c0| 72 6f 6d 70 74 20 73 74 | 72 69 6e 67 2c 20 6f 72 |rompt st|ring, or|
|000025d0| 20 61 20 6c 69 73 74 20 | 6f 66 20 61 72 67 75 6d | a list |of argum|
|000025e0| 65 6e 74 73 20 74 6f 0a | 74 65 6d 70 6f 2d 69 6e |ents to.|tempo-in|
|000025f0| 73 65 72 74 2d 70 72 6f | 6d 70 74 2c 20 6f 72 20 |sert-pro|mpt, or |
|00002600| 6e 69 6c 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |nil...(d|efalias |
|00002610| 27 74 65 6d 70 6f 2d 69 | 6e 73 65 72 74 2d 70 72 |'tempo-i|nsert-pr|
|00002620| 6f 6d 70 74 2d 63 6f 6d | 70 61 74 20 23 5b 28 70 |ompt-com|pat #[(p|
|00002630| 72 6f 6d 70 74 29 20 22 | 08 3a 83 5c 6e 00 c1 c2 |rompt) "|.:.\n...|
|00002640| 08 5c 22 87 c2 08 21 87 | 22 20 5b 70 72 6f 6d 70 |.\"...!.|" [promp|
|00002650| 74 20 61 70 70 6c 79 20 | 74 65 6d 70 6f 2d 69 6e |t apply |tempo-in|
|00002660| 73 65 72 74 2d 70 72 6f | 6d 70 74 5d 20 33 20 28 |sert-pro|mpt] 3 (|
|00002670| 23 24 20 2e 20 39 35 39 | 36 29 5d 29 0a 23 40 35 |#$ . 959|6)]).#@5|
|00002680| 36 38 20 50 72 6f 6d 70 | 74 20 66 6f 72 20 61 20 |68 Promp|t for a |
|00002690| 74 65 78 74 20 73 74 72 | 69 6e 67 20 61 6e 64 20 |text str|ing and |
|000026a0| 69 6e 73 65 72 74 20 69 | 74 20 69 6e 20 74 68 65 |insert i|t in the|
|000026b0| 20 63 75 72 72 65 6e 74 | 20 62 75 66 66 65 72 2e | current| buffer.|
|000026c0| 0a 49 66 20 74 68 65 20 | 76 61 72 69 61 62 6c 65 |.If the |variable|
|000026d0| 20 60 74 65 6d 70 6f 2d | 69 6e 74 65 72 61 63 74 | `tempo-|interact|
|000026e0| 69 76 65 27 20 69 73 20 | 6e 6f 6e 2d 6e 69 6c 20 |ive' is |non-nil |
|000026f0| 74 68 65 20 75 73 65 72 | 20 69 73 20 70 72 6f 6d |the user| is prom|
|00002700| 70 74 65 64 0a 66 6f 72 | 20 61 20 73 74 72 69 6e |pted.for| a strin|
|00002710| 67 20 69 6e 20 74 68 65 | 20 6d 69 6e 69 62 75 66 |g in the| minibuf|
|00002720| 66 65 72 2c 20 77 68 69 | 63 68 20 69 73 20 74 68 |fer, whi|ch is th|
|00002730| 65 6e 20 69 6e 73 65 72 | 74 65 64 20 69 6e 20 74 |en inser|ted in t|
|00002740| 68 65 20 63 75 72 72 65 | 6e 74 0a 62 75 66 66 65 |he curre|nt.buffe|
|00002750| 72 2e 20 49 66 20 60 74 | 65 6d 70 6f 2d 69 6e 74 |r. If `t|empo-int|
|00002760| 65 72 61 63 74 69 76 65 | 27 20 69 73 20 6e 69 6c |eractive|' is nil|
|00002770| 2c 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 70 6f |, the cu|rrent po|
|00002780| 69 6e 74 20 69 73 20 70 | 6c 61 63 65 64 20 6f 6e |int is p|laced on|
|00002790| 0a 60 74 65 6d 70 6f 2d | 6d 61 72 6b 27 2e 0a 0a |.`tempo-|mark'...|
|000027a0| 50 52 4f 4d 50 54 20 69 | 73 20 74 68 65 20 70 72 |PROMPT i|s the pr|
|000027b0| 6f 6d 70 74 20 73 74 72 | 69 6e 67 2c 20 53 41 56 |ompt str|ing, SAV|
|000027c0| 45 2d 4e 41 4d 45 20 69 | 73 20 61 20 6e 61 6d 65 |E-NAME i|s a name|
|000027d0| 20 74 6f 20 73 61 76 65 | 20 74 68 65 20 69 6e 73 | to save| the ins|
|000027e0| 65 72 74 65 64 0a 74 65 | 78 74 20 75 6e 64 65 72 |erted.te|xt under|
|000027f0| 2e 20 49 66 20 74 68 65 | 20 6f 70 74 69 6f 6e 61 |. If the| optiona|
|00002800| 6c 20 61 72 67 75 6d 65 | 6e 74 20 4e 4f 2d 49 4e |l argume|nt NO-IN|
|00002810| 53 45 52 54 20 69 73 20 | 6e 6f 6e 2d 6e 69 6c 2c |SERT is |non-nil,|
|00002820| 20 6e 6f 20 74 65 78 74 | 20 69 0a 69 6e 73 65 72 | no text| i.inser|
|00002830| 74 65 64 2e 20 54 68 69 | 73 20 63 61 6e 20 62 65 |ted. Thi|s can be|
|00002840| 20 75 73 65 66 75 6c 20 | 77 68 65 6e 20 74 68 65 | useful |when the|
|00002850| 72 65 20 69 73 20 61 20 | 53 41 56 45 2d 4e 41 4d |re is a |SAVE-NAM|
|00002860| 45 2e 0a 0a 49 66 20 74 | 68 65 72 65 20 61 6c 72 |E...If t|here alr|
|00002870| 65 61 64 79 20 69 73 20 | 61 20 76 61 6c 75 65 20 |eady is |a value |
|00002880| 66 6f 72 20 53 41 56 45 | 2d 4e 41 4d 45 2c 20 69 |for SAVE|-NAME, i|
|00002890| 74 20 69 73 20 75 73 65 | 64 20 61 6e 64 20 74 68 |t is use|d and th|
|000028a0| 65 20 75 73 65 72 20 69 | 73 0a 6e 65 76 65 72 20 |e user i|s.never |
|000028b0| 70 72 6f 6d 70 74 65 64 | 2e 1f 0a 28 64 65 66 61 |prompted|...(defa|
|000028c0| 6c 69 61 73 20 27 74 65 | 6d 70 6f 2d 69 6e 73 65 |lias 'te|mpo-inse|
|000028d0| 72 74 2d 70 72 6f 6d 70 | 74 20 23 5b 28 70 72 6f |rt-promp|t #[(pro|
|000028e0| 6d 70 74 20 26 6f 70 74 | 69 6f 6e 61 6c 20 73 61 |mpt &opt|ional sa|
|000028f0| 76 65 2d 6e 61 6d 65 20 | 6e 6f 2d 69 6e 73 65 72 |ve-name |no-inser|
|00002900| 74 29 20 22 c0 09 85 08 | 00 c2 09 21 1b 1c 0b 83 |t) "....|...!....|
|00002910| 18 00 0d 84 18 00 c6 09 | 21 82 4c 00 0b 83 20 00 |........|!.L... .|
|00002920| c0 82 4c 00 0e 07 83 48 | 00 0e 08 3b 84 31 00 c9 |..L....H|...;.1..|
|00002930| ca 0e 08 5c 22 88 cb 0e | 08 21 14 0d 84 3d 00 5c |...\"...|.!...=.\|
|00002940| 66 63 88 09 85 4c 00 cc | 09 5c 66 5c 22 82 4c 00 |fc...L..|.\f\".L.|
|00002950| cd ce 20 21 2a 87 22 20 | 5b 6e 69 6c 20 73 61 76 |.. !*." |[nil sav|
|00002960| 65 2d 6e 61 6d 65 20 74 | 65 6d 70 6f 2d 6c 6f 6f |e-name t|empo-loo|
|00002970| 6b 75 70 2d 6e 61 6d 65 | 64 20 70 72 65 76 69 6f |kup-name|d previo|
|00002980| 75 73 20 69 6e 73 65 72 | 74 69 6f 6e 20 6e 6f 2d |us inser|tion no-|
|00002990| 69 6e 73 65 72 74 20 74 | 65 6d 70 6f 2d 69 6e 73 |insert t|empo-ins|
|000029a0| 65 72 74 2d 6e 61 6d 65 | 64 20 74 65 6d 70 6f 2d |ert-name|d tempo-|
|000029b0| 69 6e 74 65 72 61 63 74 | 69 76 65 20 70 72 6f 6d |interact|ive prom|
|000029c0| 70 74 20 65 72 72 6f 72 | 20 22 74 65 6d 70 6f 3a |pt error| "tempo:|
|000029d0| 20 54 68 65 20 70 72 6f | 6d 70 74 20 28 25 73 29 | The pro|mpt (%s)|
|000029e0| 20 69 73 20 6e 6f 74 20 | 61 20 73 74 72 69 6e 67 | is not |a string|
|000029f0| 22 20 72 65 61 64 2d 73 | 74 72 69 6e 67 20 74 65 |" read-s|tring te|
|00002a00| 6d 70 6f 2d 73 61 76 65 | 2d 6e 61 6d 65 64 20 74 |mpo-save|-named t|
|00002a10| 65 6d 70 6f 2d 69 6e 73 | 65 72 74 2d 6d 61 72 6b |empo-ins|ert-mark|
|00002a20| 20 70 6f 69 6e 74 2d 6d | 61 72 6b 65 72 5d 20 33 | point-m|arker] 3|
|00002a30| 20 28 23 24 20 2e 20 39 | 38 35 39 29 5d 29 0a 23 | (#$ . 9|859)]).#|
|00002a40| 40 37 30 20 54 72 69 65 | 73 20 61 6c 6c 20 74 68 |@70 Trie|s all th|
|00002a50| 65 20 75 73 65 72 2d 64 | 65 66 69 6e 65 64 20 65 |e user-d|efined e|
|00002a60| 6c 65 6d 65 6e 74 20 68 | 61 6e 64 6c 65 72 73 20 |lement h|andlers |
|00002a70| 69 6e 0a 60 74 65 6d 70 | 6f 2d 75 73 65 72 2d 65 |in.`temp|o-user-e|
|00002a80| 6c 65 6d 65 6e 74 73 27 | 1f 0a 28 64 65 66 61 6c |lements'|..(defal|
|00002a90| 69 61 73 20 27 74 65 6d | 70 6f 2d 69 73 2d 75 73 |ias 'tem|po-is-us|
|00002aa0| 65 72 2d 65 6c 65 6d 65 | 6e 74 20 23 5b 28 65 6c |er-eleme|nt #[(el|
|00002ab0| 65 6d 65 6e 74 29 20 22 | c0 c1 8d 87 22 20 5b 66 |ement) "|...." [f|
|00002ac0| 6f 75 6e 64 20 28 62 79 | 74 65 2d 63 6f 64 65 20 |ound (by|te-code |
|00002ad0| 22 c0 c1 5c 6e 5c 22 88 | c3 c4 c5 5c 22 87 22 20 |"..\n\".|...\"." |
|00002ae0| 5b 6d 61 70 63 61 72 20 | 23 5b 28 68 61 6e 64 6c |[mapcar |#[(handl|
|00002af0| 65 72 29 20 22 08 09 21 | 89 1a 85 5c 66 00 c3 c4 |er) "..!|...\f...|
|00002b00| 5c 6e 5c 22 29 87 22 20 | 5b 68 61 6e 64 6c 65 72 |\n\")." |[handler|
|00002b10| 20 65 6c 65 6d 65 6e 74 | 20 72 65 73 75 6c 74 20 | element| result |
|00002b20| 74 68 72 6f 77 20 66 6f | 75 6e 64 5d 20 34 5d 20 |throw fo|und] 4] |
|00002b30| 74 65 6d 70 6f 2d 75 73 | 65 72 2d 65 6c 65 6d 65 |tempo-us|er-eleme|
|00002b40| 6e 74 73 20 74 68 72 6f | 77 20 66 6f 75 6e 64 20 |nts thro|w found |
|00002b50| 6e 69 6c 5d 20 33 29 5d | 20 32 20 28 23 24 20 2e |nil] 3)]| 2 (#$ .|
|00002b60| 20 31 30 38 32 30 29 5d | 29 0a 23 40 34 30 20 46 | 10820)]|).#@40 F|
|00002b70| 6f 72 67 65 74 20 61 6c | 6c 20 74 68 65 20 73 61 |orget al|l the sa|
|00002b80| 76 65 64 20 6e 61 6d 65 | 64 20 69 6e 73 65 72 74 |ved name|d insert|
|00002b90| 69 6f 6e 73 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |ions...(|defalias|
|00002ba0| 20 27 74 65 6d 70 6f 2d | 66 6f 72 67 65 74 2d 69 | 'tempo-|forget-i|
|00002bb0| 6e 73 65 72 74 69 6f 6e | 73 20 23 5b 6e 69 6c 20 |nsertion|s #[nil |
|00002bc0| 22 c0 89 11 87 22 20 5b | 6e 69 6c 20 74 65 6d 70 |"...." [|nil temp|
|00002bd0| 6f 2d 6e 61 6d 65 64 2d | 69 6e 73 65 72 74 69 6f |o-named-|insertio|
|00002be0| 6e 73 5d 20 32 20 28 23 | 24 20 2e 20 31 31 31 31 |ns] 2 (#|$ . 1111|
|00002bf0| 39 29 5d 29 0a 23 40 32 | 33 35 20 53 61 76 65 20 |9)]).#@2|35 Save |
|00002c00| 73 6f 6d 65 20 64 61 74 | 61 20 66 6f 72 20 6c 61 |some dat|a for la|
|00002c10| 74 65 72 20 69 6e 73 65 | 72 74 69 6f 6e 0a 54 68 |ter inse|rtion.Th|
|00002c20| 65 20 63 6f 6e 74 65 6e | 74 73 20 6f 66 20 44 41 |e conten|ts of DA|
|00002c30| 54 41 20 69 73 20 73 61 | 76 65 64 20 75 6e 64 65 |TA is sa|ved unde|
|00002c40| 72 20 74 68 65 20 6e 61 | 6d 65 20 4e 41 4d 45 2e |r the na|me NAME.|
|00002c50| 0a 0a 54 68 65 20 64 61 | 74 61 20 63 61 6e 20 6c |..The da|ta can l|
|00002c60| 61 74 65 72 20 62 65 20 | 72 65 74 72 69 65 76 65 |ater be |retrieve|
|00002c70| 64 20 77 69 74 68 20 60 | 74 65 6d 70 6f 2d 6c 6f |d with `|tempo-lo|
|00002c80| 6f 6b 75 70 2d 6e 61 6d | 65 64 27 2e 0a 0a 54 68 |okup-nam|ed'...Th|
|00002c90| 69 73 20 66 75 6e 63 74 | 69 6f 6e 20 72 65 74 75 |is funct|ion retu|
|00002ca0| 72 6e 73 20 6e 69 6c 2c | 20 73 6f 20 69 74 20 63 |rns nil,| so it c|
|00002cb0| 61 6e 20 62 65 20 75 73 | 65 64 20 69 6e 20 61 20 |an be us|ed in a |
|00002cc0| 74 65 6d 70 6c 61 74 65 | 20 77 69 74 68 6f 75 74 |template| without|
|00002cd0| 0a 69 6e 73 65 72 74 69 | 6e 67 20 61 6e 79 74 68 |.inserti|ng anyth|
|00002ce0| 69 6e 67 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |ing...(d|efalias |
|00002cf0| 27 74 65 6d 70 6f 2d 73 | 61 76 65 2d 6e 61 6d 65 |'tempo-s|ave-name|
|00002d00| 64 20 23 5b 28 6e 61 6d | 65 20 64 61 74 61 29 20 |d #[(nam|e data) |
|00002d10| 22 08 09 42 5c 6e 42 12 | c3 87 22 20 5b 6e 61 6d |"..B\nB.|.." [nam|
|00002d20| 65 20 64 61 74 61 20 74 | 65 6d 70 6f 2d 6e 61 6d |e data t|empo-nam|
|00002d30| 65 64 2d 69 6e 73 65 72 | 74 69 6f 6e 73 20 6e 69 |ed-inser|tions ni|
|00002d40| 6c 5d 20 32 20 28 23 24 | 20 2e 20 31 31 32 35 39 |l] 2 (#$| . 11259|
|00002d50| 29 5d 29 0a 23 40 31 30 | 30 20 4c 6f 6f 6b 75 70 |)]).#@10|0 Lookup|
|00002d60| 20 73 6f 6d 65 20 73 61 | 76 65 64 20 64 61 74 61 | some sa|ved data|
|00002d70| 20 75 6e 64 65 72 20 74 | 68 65 20 6e 61 6d 65 20 | under t|he name |
|00002d80| 4e 41 4d 45 2e 0a 52 65 | 74 75 72 6e 73 20 74 68 |NAME..Re|turns th|
|00002d90| 65 20 64 61 74 61 20 69 | 66 20 4e 41 4d 45 20 77 |e data i|f NAME w|
|00002da0| 61 73 20 66 6f 75 6e 64 | 2c 20 61 6e 64 20 6e 69 |as found|, and ni|
|00002db0| 6c 20 6f 74 68 65 72 77 | 69 73 65 2e 1f 0a 28 64 |l otherw|ise...(d|
|00002dc0| 65 66 61 6c 69 61 73 20 | 27 74 65 6d 70 6f 2d 6c |efalias |'tempo-l|
|00002dd0| 6f 6f 6b 75 70 2d 6e 61 | 6d 65 64 20 23 5b 28 6e |ookup-na|med #[(n|
|00002de0| 61 6d 65 29 20 22 08 09 | 9e 41 87 22 20 5b 6e 61 |ame) "..|.A." [na|
|00002df0| 6d 65 20 74 65 6d 70 6f | 2d 6e 61 6d 65 64 2d 69 |me tempo|-named-i|
|00002e00| 6e 73 65 72 74 69 6f 6e | 73 5d 20 32 20 28 23 24 |nsertion|s] 2 (#$|
|00002e10| 20 2e 20 31 31 36 31 30 | 29 5d 29 0a 23 40 32 31 | . 11610|)]).#@21|
|00002e20| 33 20 49 6e 73 65 72 74 | 20 74 68 65 20 70 72 65 |3 Insert| the pre|
|00002e30| 76 69 6f 75 73 20 69 6e | 73 65 72 74 69 6f 6e 20 |vious in|sertion |
|00002e40| 73 61 76 65 64 20 75 6e | 64 65 72 20 61 20 6e 61 |saved un|der a na|
|00002e50| 6d 65 64 20 73 70 65 63 | 69 66 69 65 64 20 69 6e |med spec|ified in|
|00002e60| 20 4e 41 4d 45 2e 0a 49 | 66 20 74 68 65 72 65 20 | NAME..I|f there |
|00002e70| 69 73 20 6e 6f 20 73 75 | 63 68 20 6e 61 6d 65 20 |is no su|ch name |
|00002e80| 73 61 76 65 64 2c 20 61 | 20 74 65 6d 70 6f 20 6d |saved, a| tempo m|
|00002e90| 61 72 6b 20 69 73 20 69 | 6e 73 65 72 74 65 64 2e |ark is i|nserted.|
|00002ea0| 0a 0a 4e 6f 74 65 20 74 | 68 61 74 20 69 66 20 74 |..Note t|hat if t|
|00002eb0| 68 65 20 64 61 74 61 20 | 69 73 20 61 20 73 74 72 |he data |is a str|
|00002ec0| 69 6e 67 2c 20 69 74 20 | 77 69 6c 6c 20 6e 6f 74 |ing, it |will not|
|00002ed0| 20 62 65 20 72 75 6e 20 | 74 68 72 6f 75 67 68 20 | be run |through |
|00002ee0| 74 68 65 20 73 74 72 69 | 6e 67 0a 70 72 6f 63 65 |the stri|ng.proce|
|00002ef0| 73 73 6f 72 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |ssor...(|defalias|
|00002f00| 20 27 74 65 6d 70 6f 2d | 69 6e 73 65 72 74 2d 6e | 'tempo-|insert-n|
|00002f10| 61 6d 65 64 20 23 5b 28 | 6e 61 6d 65 29 20 22 c0 |amed #[(|name) ".|
|00002f20| 09 21 89 1a 84 0f 00 c3 | c4 20 21 82 1d 00 5c 6e |.!......|. !...\n|
|00002f30| 3b 83 19 00 5c 6e 63 82 | 1d 00 c5 5c 6e c6 5c 22 |;...\nc.|...\n.\"|
|00002f40| 29 87 22 20 5b 74 65 6d | 70 6f 2d 6c 6f 6f 6b 75 |)." [tem|po-looku|
|00002f50| 70 2d 6e 61 6d 65 64 20 | 6e 61 6d 65 20 69 6e 73 |p-named |name ins|
|00002f60| 65 72 74 69 6f 6e 20 74 | 65 6d 70 6f 2d 69 6e 73 |ertion t|empo-ins|
|00002f70| 65 72 74 2d 6d 61 72 6b | 20 70 6f 69 6e 74 2d 6d |ert-mark| point-m|
|00002f80| 61 72 6b 65 72 20 74 65 | 6d 70 6f 2d 69 6e 73 65 |arker te|mpo-inse|
|00002f90| 72 74 20 6e 69 6c 5d 20 | 34 20 28 23 24 20 2e 20 |rt nil] |4 (#$ . |
|00002fa0| 31 31 38 31 30 29 5d 29 | 0a 23 40 31 33 32 20 49 |11810)])|.#@132 I|
|00002fb0| 6e 73 65 72 74 20 61 20 | 73 74 72 69 6e 67 20 66 |nsert a |string f|
|00002fc0| 72 6f 6d 20 61 20 74 65 | 6d 70 6c 61 74 65 2e 0a |rom a te|mplate..|
|00002fd0| 52 75 6e 20 61 20 73 74 | 72 69 6e 67 20 74 68 72 |Run a st|ring thr|
|00002fe0| 6f 75 67 68 20 74 68 65 | 20 70 72 65 70 72 6f 63 |ough the| preproc|
|00002ff0| 65 73 73 6f 72 73 20 69 | 6e 20 60 74 65 6d 70 6f |essors i|n `tempo|
|00003000| 2d 69 6e 73 65 72 74 2d | 73 74 72 69 6e 67 2d 66 |-insert-|string-f|
|00003010| 75 6e 63 74 69 6f 6e 73 | 27 0a 61 6e 64 20 69 6e |unctions|'.and in|
|00003020| 73 65 72 74 20 74 68 65 | 20 72 65 73 75 6c 74 73 |sert the| results|
|00003030| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 74 65 |...(defa|lias 'te|
|00003040| 6d 70 6f 2d 70 72 6f 63 | 65 73 73 2d 61 6e 64 2d |mpo-proc|ess-and-|
|00003050| 69 6e 73 65 72 74 2d 73 | 74 72 69 6e 67 20 23 5b |insert-s|tring #[|
|00003060| 28 73 74 72 69 6e 67 29 | 20 22 08 83 5c 22 00 08 |(string)| "..\"..|
|00003070| 39 83 10 00 08 09 21 11 | 82 5c 22 00 08 3c 83 1d |9.....!.|.\"..<..|
|00003080| 00 c2 c3 08 5c 22 88 82 | 5c 22 00 c4 c5 08 5c 22 |....\"..|\"....\"|
|00003090| 88 09 63 87 22 20 5b 74 | 65 6d 70 6f 2d 69 6e 73 |..c." [t|empo-ins|
|000030a0| 65 72 74 2d 73 74 72 69 | 6e 67 2d 66 75 6e 63 74 |ert-stri|ng-funct|
|000030b0| 69 6f 6e 73 20 73 74 72 | 69 6e 67 20 74 65 6d 70 |ions str|ing temp|
|000030c0| 6f 2d 6d 61 70 63 20 23 | 5b 28 66 6e 29 20 22 08 |o-mapc #|[(fn) ".|
|000030d0| 09 21 89 11 87 22 20 5b | 66 6e 20 73 74 72 69 6e |.!..." [|fn strin|
|000030e0| 67 5d 20 32 5d 20 65 72 | 72 6f 72 20 22 42 6f 67 |g] 2] er|ror "Bog|
|000030f0| 75 73 20 76 61 6c 75 65 | 20 69 6e 20 74 65 6d 70 |us value| in temp|
|00003100| 6f 2d 69 6e 73 65 72 74 | 2d 73 74 72 69 6e 67 2d |o-insert|-string-|
|00003110| 66 75 6e 63 74 69 6f 6e | 73 3a 20 25 73 22 5d 20 |function|s: %s"] |
|00003120| 33 20 28 23 24 20 2e 20 | 31 32 32 30 37 29 5d 29 |3 (#$ . |12207)])|
|00003130| 0a 23 40 35 33 20 49 6e | 73 65 72 74 20 61 20 6d |.#@53 In|sert a m|
|00003140| 61 72 6b 20 60 74 65 6d | 70 6f 2d 6d 61 72 6b 73 |ark `tem|po-marks|
|00003150| 27 20 77 68 69 6c 65 20 | 6b 65 65 70 69 6e 67 20 |' while |keeping |
|00003160| 69 74 20 73 6f 72 74 65 | 64 1f 0a 28 64 65 66 61 |it sorte|d..(defa|
|00003170| 6c 69 61 73 20 27 74 65 | 6d 70 6f 2d 69 6e 73 65 |lias 'te|mpo-inse|
|00003180| 72 74 2d 6d 61 72 6b 20 | 23 5b 28 6d 61 72 6b 29 |rt-mark |#[(mark)|
|00003190| 20 22 08 84 09 00 09 43 | 89 10 87 09 08 40 57 83 | ".....C|.....@W.|
|000031a0| 16 00 09 08 42 89 10 87 | 08 89 1a 41 83 2c 00 5c |....B...|...A.,.\|
|000031b0| 6e 41 40 09 58 83 2c 00 | 5c 6e 41 89 12 82 19 00 |nA@.X.,.|\nA.....|
|000031c0| 09 5c 6e 40 55 3f 85 3a | 00 5c 6e 09 5c 6e 41 42 |.\n@U?.:|.\n.\nAB|
|000031d0| a1 29 87 22 20 5b 74 65 | 6d 70 6f 2d 6d 61 72 6b |.)." [te|mpo-mark|
|000031e0| 73 20 6d 61 72 6b 20 6c | 70 5d 20 34 20 28 23 24 |s mark l|p] 4 (#$|
|000031f0| 20 2e 20 31 32 35 39 38 | 29 5d 29 0a 23 40 35 33 | . 12598|)]).#@53|
|00003200| 20 4a 75 6d 70 20 74 6f | 20 74 68 65 20 6e 65 78 | Jump to| the nex|
|00003210| 74 20 6d 61 72 6b 20 69 | 6e 20 60 74 65 6d 70 6f |t mark i|n `tempo|
|00003220| 2d 66 6f 72 77 61 72 64 | 2d 6d 61 72 6b 2d 6c 69 |-forward|-mark-li|
|00003230| 73 74 27 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |st'...(d|efalias |
|00003240| 27 74 65 6d 70 6f 2d 66 | 6f 72 77 61 72 64 2d 6d |'tempo-f|orward-m|
|00003250| 61 72 6b 20 23 5b 6e 69 | 6c 20 22 c0 c1 8d 89 1a |ark #[ni|l ".....|
|00003260| 85 5c 6e 00 5c 6e 62 29 | 87 22 20 5b 66 6f 75 6e |.\n.\nb)|." [foun|
|00003270| 64 20 28 62 79 74 65 2d | 63 6f 64 65 20 22 c0 c1 |d (byte-|code "..|
|00003280| 5c 6e 5c 22 88 c3 87 22 | 20 5b 6d 61 70 63 61 72 |\n\"..."| [mapcar|
|00003290| 20 23 5b 28 6d 61 72 6b | 29 20 22 60 08 57 85 5c | #[(mark|) "`.W.\|
|000032a0| 6e 00 c1 c2 08 5c 22 87 | 22 20 5b 6d 61 72 6b 20 |n....\".|" [mark |
|000032b0| 74 68 72 6f 77 20 66 6f | 75 6e 64 5d 20 33 5d 20 |throw fo|und] 3] |
|000032c0| 74 65 6d 70 6f 2d 6d 61 | 72 6b 73 20 6e 69 6c 5d |tempo-ma|rks nil]|
|000032d0| 20 33 29 20 6e 65 78 74 | 2d 6d 61 72 6b 5d 20 33 | 3) next|-mark] 3|
|000032e0| 20 28 23 24 20 2e 20 31 | 32 38 30 31 29 20 6e 69 | (#$ . 1|2801) ni|
|000032f0| 6c 5d 29 0a 23 40 35 34 | 20 4a 75 6d 70 20 74 6f |l]).#@54| Jump to|
|00003300| 20 74 68 65 20 70 72 65 | 76 69 6f 75 73 20 6d 61 | the pre|vious ma|
|00003310| 72 6b 20 69 6e 20 60 74 | 65 6d 70 6f 2d 62 61 63 |rk in `t|empo-bac|
|00003320| 6b 2d 6d 61 72 6b 2d 6c | 69 73 74 27 2e 1f 0a 28 |k-mark-l|ist'...(|
|00003330| 64 65 66 61 6c 69 61 73 | 20 27 74 65 6d 70 6f 2d |defalias| 'tempo-|
|00003340| 62 61 63 6b 77 61 72 64 | 2d 6d 61 72 6b 20 23 5b |backward|-mark #[|
|00003350| 6e 69 6c 20 22 c0 c1 8d | 89 1a 85 5c 6e 00 5c 6e |nil "...|...\n.\n|
|00003360| 62 29 87 22 20 5b 66 6f | 75 6e 64 20 28 62 79 74 |b)." [fo|und (byt|
|00003370| 65 2d 63 6f 64 65 20 22 | c0 19 c2 c3 5c 66 5c 22 |e-code "|....\f\"|
|00003380| 88 09 29 87 22 20 5b 6e | 69 6c 20 6c 61 73 74 20 |..)." [n|il last |
|00003390| 6d 61 70 63 61 72 20 23 | 5b 28 6d 61 72 6b 29 20 |mapcar #|[(mark) |
|000033a0| 22 60 08 58 83 0b 00 c1 | c2 0b 5c 22 88 08 89 13 |"`.X....|..\"....|
|000033b0| 87 22 20 5b 6d 61 72 6b | 20 74 68 72 6f 77 20 66 |." [mark| throw f|
|000033c0| 6f 75 6e 64 20 6c 61 73 | 74 5d 20 33 5d 20 74 65 |ound las|t] 3] te|
|000033d0| 6d 70 6f 2d 6d 61 72 6b | 73 5d 20 33 29 20 70 72 |mpo-mark|s] 3) pr|
|000033e0| 65 76 2d 6d 61 72 6b 5d | 20 33 20 28 23 24 20 2e |ev-mark]| 3 (#$ .|
|000033f0| 20 31 33 30 34 39 29 20 | 6e 69 6c 5d 29 0a 23 40 | 13049) |nil]).#@|
|00003400| 31 33 31 20 41 64 64 20 | 61 20 74 65 6d 70 6c 61 |131 Add |a templa|
|00003410| 74 65 20 74 61 67 2e 0a | 41 64 64 20 74 68 65 20 |te tag..|Add the |
|00003420| 54 41 47 2c 20 74 68 61 | 74 20 73 68 6f 75 6c 64 |TAG, tha|t should|
|00003430| 20 63 6f 6d 70 6c 65 74 | 65 20 74 6f 20 54 45 4d | complet|e to TEM|
|00003440| 50 4c 41 54 45 20 74 6f | 20 74 68 65 20 6c 69 73 |PLATE to| the lis|
|00003450| 74 20 69 6e 20 54 41 47 | 2d 4c 49 53 54 2c 0a 6f |t in TAG|-LIST,.o|
|00003460| 72 20 74 6f 20 60 74 65 | 6d 70 6f 2d 74 61 67 73 |r to `te|mpo-tags|
|00003470| 27 20 69 66 20 54 41 47 | 2d 4c 49 53 54 20 69 73 |' if TAG|-LIST is|
|00003480| 20 6e 69 6c 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 | nil...(|defalias|
|00003490| 20 27 74 65 6d 70 6f 2d | 61 64 64 2d 74 61 67 20 | 'tempo-|add-tag |
|000034a0| 23 5b 28 74 61 67 20 74 | 65 6d 70 6c 61 74 65 20 |#[(tag t|emplate |
|000034b0| 26 6f 70 74 69 6f 6e 61 | 6c 20 74 61 67 2d 6c 69 |&optiona|l tag-li|
|000034c0| 73 74 29 20 22 08 84 06 | 00 c1 10 c2 0b 08 4a 5c |st) "...|......J\|
|000034d0| 22 84 17 00 08 0b 5c 66 | 42 08 4a 42 4c 88 c5 20 |".....\f|B.JBL.. |
|000034e0| 87 22 20 5b 74 61 67 2d | 6c 69 73 74 20 74 65 6d |." [tag-|list tem|
|000034f0| 70 6f 2d 74 61 67 73 20 | 61 73 73 6f 63 20 74 61 |po-tags |assoc ta|
|00003500| 67 20 74 65 6d 70 6c 61 | 74 65 20 74 65 6d 70 6f |g templa|te tempo|
|00003510| 2d 69 6e 76 61 6c 69 64 | 61 74 65 2d 63 6f 6c 6c |-invalid|ate-coll|
|00003520| 65 63 74 69 6f 6e 5d 20 | 33 20 28 23 24 20 2e 20 |ection] |3 (#$ . |
|00003530| 31 33 33 31 36 29 20 22 | 73 54 61 67 3a 20 5c 6e |13316) "|sTag: \n|
|00003540| 43 54 65 6d 70 6c 61 74 | 65 3a 20 22 5d 29 0a 23 |CTemplat|e: "]).#|
|00003550| 40 34 38 38 20 49 6e 73 | 74 61 6c 6c 20 54 41 47 |@488 Ins|tall TAG|
|00003560| 2d 4c 49 53 54 20 74 6f | 20 62 65 20 75 73 65 64 |-LIST to| be used|
|00003570| 20 66 6f 72 20 74 65 6d | 70 6c 61 74 65 20 63 6f | for tem|plate co|
|00003580| 6d 70 6c 65 74 69 6f 6e | 20 69 6e 20 74 68 65 20 |mpletion| in the |
|00003590| 63 75 72 72 65 6e 74 20 | 62 75 66 66 65 72 2e 0a |current |buffer..|
|000035a0| 54 41 47 2d 4c 49 53 54 | 20 69 73 20 61 20 73 79 |TAG-LIST| is a sy|
|000035b0| 6d 62 6f 6c 20 77 68 6f | 73 65 20 76 61 72 69 61 |mbol who|se varia|
|000035c0| 62 6c 65 20 76 61 6c 75 | 65 20 69 73 20 61 20 74 |ble valu|e is a t|
|000035d0| 61 67 20 6c 69 73 74 20 | 63 72 65 61 74 65 64 20 |ag list |created |
|000035e0| 77 69 74 68 0a 60 74 65 | 6d 70 6f 2d 61 64 64 2d |with.`te|mpo-add-|
|000035f0| 74 61 67 27 2e 0a 0a 43 | 4f 4d 50 4c 45 54 49 4f |tag'...C|OMPLETIO|
|00003600| 4e 2d 46 55 4e 43 54 49 | 4f 4e 20 69 73 20 61 6e |N-FUNCTI|ON is an|
|00003610| 20 6f 62 73 6f 6c 65 74 | 65 20 6f 70 74 69 6f 6e | obsolet|e option|
|00003620| 20 66 6f 72 20 73 70 65 | 63 69 66 79 69 6e 67 20 | for spe|cifying |
|00003630| 61 6e 20 6f 70 74 69 6f | 6e 61 6c 0a 66 75 6e 63 |an optio|nal.func|
|00003640| 74 69 6f 6e 20 6f 72 20 | 73 74 72 69 6e 67 20 74 |tion or |string t|
|00003650| 68 61 74 20 69 73 20 75 | 73 65 64 20 62 79 20 60 |hat is u|sed by `|
|00003660| 5c 5b 74 65 6d 70 6f 2d | 63 6f 6d 70 6c 65 74 65 |\[tempo-|complete|
|00003670| 2d 74 61 67 5d 27 20 74 | 6f 20 66 69 6e 64 20 61 |-tag]' t|o find a|
|00003680| 0a 73 74 72 69 6e 67 20 | 74 6f 20 6d 61 74 63 68 |.string |to match|
|00003690| 20 74 68 65 20 74 61 67 | 20 61 67 61 69 6e 73 74 | the tag| against|
|000036a0| 2e 20 49 74 20 68 61 73 | 20 74 68 65 20 73 61 6d |. It has| the sam|
|000036b0| 65 20 64 65 66 69 6e 69 | 74 69 6f 6e 20 61 73 20 |e defini|tion as |
|000036c0| 74 68 65 0a 76 61 72 69 | 61 62 6c 65 20 60 74 65 |the.vari|able `te|
|000036d0| 6d 70 6f 2d 6d 61 74 63 | 68 2d 66 69 6e 64 65 72 |mpo-matc|h-finder|
|000036e0| 27 2e 20 49 6e 20 74 68 | 69 73 20 76 65 72 73 69 |'. In th|is versi|
|000036f0| 6f 6e 2c 20 73 75 70 70 | 6c 79 69 6e 67 20 61 0a |on, supp|lying a.|
|00003700| 43 4f 4d 50 4c 45 54 49 | 4f 4e 2d 46 55 4e 43 54 |COMPLETI|ON-FUNCT|
|00003710| 49 4f 4e 20 6a 75 73 74 | 20 73 65 74 73 20 60 74 |ION just| sets `t|
|00003720| 65 6d 70 6f 2d 6d 61 74 | 63 68 2d 66 69 6e 64 65 |empo-mat|ch-finde|
|00003730| 72 27 20 6c 6f 63 61 6c | 6c 79 2e 1f 0a 28 64 65 |r' local|ly...(de|
|00003740| 66 61 6c 69 61 73 20 27 | 74 65 6d 70 6f 2d 75 73 |falias '|tempo-us|
|00003750| 65 2d 74 61 67 2d 6c 69 | 73 74 20 23 5b 28 74 61 |e-tag-li|st #[(ta|
|00003760| 67 2d 6c 69 73 74 20 26 | 6f 70 74 69 6f 6e 61 6c |g-list &|optional|
|00003770| 20 63 6f 6d 70 6c 65 74 | 69 6f 6e 2d 66 75 6e 63 | complet|ion-func|
|00003780| 74 69 6f 6e 29 20 22 08 | 09 9e 89 1a 83 0f 00 5c |tion) ".|.......\|
|00003790| 6e 0b a1 88 82 15 00 08 | 0b 42 09 42 11 29 0b 83 |n.......|.B.B.)..|
|000037a0| 1c 00 0b 14 c5 20 87 22 | 20 5b 74 61 67 2d 6c 69 |..... ."| [tag-li|
|000037b0| 73 74 20 74 65 6d 70 6f | 2d 6c 6f 63 61 6c 2d 74 |st tempo|-local-t|
|000037c0| 61 67 73 20 6f 6c 64 20 | 63 6f 6d 70 6c 65 74 69 |ags old |completi|
|000037d0| 6f 6e 2d 66 75 6e 63 74 | 69 6f 6e 20 74 65 6d 70 |on-funct|ion temp|
|000037e0| 6f 2d 6d 61 74 63 68 2d | 66 69 6e 64 65 72 20 74 |o-match-|finder t|
|000037f0| 65 6d 70 6f 2d 69 6e 76 | 61 6c 69 64 61 74 65 2d |empo-inv|alidate-|
|00003800| 63 6f 6c 6c 65 63 74 69 | 6f 6e 5d 20 33 20 28 23 |collecti|on] 3 (#|
|00003810| 24 20 2e 20 31 33 36 35 | 33 29 5d 29 0a 23 40 38 |$ . 1365|3)]).#@8|
|00003820| 37 20 4d 61 72 6b 73 20 | 74 68 65 20 74 61 67 20 |7 Marks |the tag |
|00003830| 63 6f 6c 6c 65 63 74 69 | 6f 6e 20 61 73 20 6f 62 |collecti|on as ob|
|00003840| 73 6f 6c 65 74 65 2e 0a | 57 68 65 6e 65 76 65 72 |solete..|Whenever|
|00003850| 20 69 74 20 69 73 20 6e | 65 65 64 65 64 20 61 67 | it is n|eeded ag|
|00003860| 61 69 6e 20 69 74 20 77 | 69 6c 6c 20 62 65 20 72 |ain it w|ill be r|
|00003870| 65 62 75 69 6c 74 2e 1f | 0a 28 64 65 66 61 6c 69 |ebuilt..|.(defali|
|00003880| 61 73 20 27 74 65 6d 70 | 6f 2d 69 6e 76 61 6c 69 |as 'temp|o-invali|
|00003890| 64 61 74 65 2d 63 6f 6c | 6c 65 63 74 69 6f 6e 20 |date-col|lection |
|000038a0| 23 5b 6e 69 6c 20 22 c0 | 89 11 87 22 20 5b 74 20 |#[nil ".|..." [t |
|000038b0| 74 65 6d 70 6f 2d 64 69 | 72 74 79 2d 63 6f 6c 6c |tempo-di|rty-coll|
|000038c0| 65 63 74 69 6f 6e 5d 20 | 32 20 28 23 24 20 2e 20 |ection] |2 (#$ . |
|000038d0| 31 34 33 37 30 29 5d 29 | 0a 23 40 31 31 37 20 42 |14370)])|.#@117 B|
|000038e0| 75 69 6c 64 20 61 20 63 | 6f 6c 6c 65 63 74 69 6f |uild a c|ollectio|
|000038f0| 6e 20 6f 66 20 61 6c 6c | 20 74 68 65 20 74 61 67 |n of all| the tag|
|00003900| 73 20 61 6e 64 20 72 65 | 74 75 72 6e 20 69 74 2e |s and re|turn it.|
|00003910| 0a 49 66 20 60 74 65 6d | 70 6f 2d 64 69 72 74 79 |.If `tem|po-dirty|
|00003920| 2d 63 6f 6c 6c 65 63 74 | 69 6f 6e 27 20 69 73 20 |-collect|ion' is |
|00003930| 4e 49 4c 2c 20 74 68 65 | 20 6f 6c 64 20 63 6f 6c |NIL, the| old col|
|00003940| 6c 65 63 74 69 6f 6e 20 | 69 73 20 72 65 75 73 65 |lection |is reuse|
|00003950| 64 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 74 |d...(def|alias 't|
|00003960| 65 6d 70 6f 2d 62 75 69 | 6c 64 2d 63 6f 6c 6c 65 |empo-bui|ld-colle|
|00003970| 63 74 69 6f 6e 20 23 5b | 6e 69 6c 20 22 08 84 08 |ction #[|nil "...|
|00003980| 00 09 86 12 00 c2 c3 c4 | c5 0e 06 5c 22 5c 22 89 |........|...\"\".|
|00003990| 11 c7 10 87 22 20 5b 74 | 65 6d 70 6f 2d 64 69 72 |...." [t|empo-dir|
|000039a0| 74 79 2d 63 6f 6c 6c 65 | 63 74 69 6f 6e 20 74 65 |ty-colle|ction te|
|000039b0| 6d 70 6f 2d 63 6f 6c 6c | 65 63 74 69 6f 6e 20 61 |mpo-coll|ection a|
|000039c0| 70 70 6c 79 20 61 70 70 | 65 6e 64 20 6d 61 70 63 |pply app|end mapc|
|000039d0| 61 72 20 23 5b 28 74 61 | 67 2d 6c 69 73 74 29 20 |ar #[(ta|g-list) |
|000039e0| 22 c0 09 40 21 87 22 20 | 5b 65 76 61 6c 20 74 61 |"..@!." |[eval ta|
|000039f0| 67 2d 6c 69 73 74 5d 20 | 32 5d 20 74 65 6d 70 6f |g-list] |2] tempo|
|00003a00| 2d 6c 6f 63 61 6c 2d 74 | 61 67 73 20 6e 69 6c 5d |-local-t|ags nil]|
|00003a10| 20 35 20 28 23 24 20 2e | 20 31 34 35 35 39 29 5d | 5 (#$ .| 14559)]|
|00003a20| 29 0a 23 40 31 34 38 20 | 46 69 6e 64 20 61 20 73 |).#@148 |Find a s|
|00003a30| 74 72 69 6e 67 20 74 6f | 20 62 65 20 6d 61 74 63 |tring to| be matc|
|00003a40| 68 65 64 20 61 67 61 69 | 6e 73 74 20 61 20 74 61 |hed agai|nst a ta|
|00003a50| 67 20 6c 69 73 74 2e 0a | 46 49 4e 44 45 52 20 69 |g list..|FINDER i|
|00003a60| 73 20 61 20 66 75 6e 63 | 74 69 6f 6e 20 6f 72 20 |s a func|tion or |
|00003a70| 61 20 73 74 72 69 6e 67 | 2e 20 52 65 74 75 72 6e |a string|. Return|
|00003a80| 73 20 28 53 54 52 49 4e | 47 20 2e 20 50 4f 53 29 |s (STRIN|G . POS)|
|00003a90| 2c 20 6f 72 20 6e 69 6c | 0a 69 66 20 6e 6f 20 72 |, or nil|.if no r|
|00003aa0| 65 61 73 6f 6e 61 62 6c | 65 20 73 74 72 69 6e 67 |easonabl|e string|
|00003ab0| 20 69 73 20 66 6f 75 6e | 64 2e 1f 0a 28 64 65 66 | is foun|d...(def|
|00003ac0| 61 6c 69 61 73 20 27 74 | 65 6d 70 6f 2d 66 69 6e |alias 't|empo-fin|
|00003ad0| 64 2d 6d 61 74 63 68 2d | 73 74 72 69 6e 67 20 23 |d-match-|string #|
|00003ae0| 5b 28 66 69 6e 64 65 72 | 29 20 22 08 3b 83 1d 00 |[(finder|) ".;...|
|00003af0| c1 1a 8a c3 08 c1 c4 23 | 12 29 5c 6e 85 1b 00 c5 |.......#|.)\n....|
|00003b00| 94 c5 95 7b c5 94 42 29 | 87 08 20 87 22 20 5b 66 |...{..B)|.. ." [f|
|00003b10| 69 6e 64 65 72 20 6e 69 | 6c 20 73 75 63 63 65 73 |inder ni|l succes|
|00003b20| 73 66 75 6c 20 72 65 2d | 73 65 61 72 63 68 2d 62 |sful re-|search-b|
|00003b30| 61 63 6b 77 61 72 64 20 | 74 20 31 5d 20 34 20 28 |ackward |t 1] 4 (|
|00003b40| 23 24 20 2e 20 31 34 38 | 38 38 29 5d 29 0a 23 40 |#$ . 148|88)]).#@|
|00003b50| 37 30 34 20 4c 6f 6f 6b | 20 66 6f 72 20 61 20 74 |704 Look| for a t|
|00003b60| 61 67 20 61 6e 64 20 65 | 78 70 61 6e 64 20 69 74 |ag and e|xpand it|
|00003b70| 2e 0a 41 6c 6c 20 74 68 | 65 20 74 61 67 73 20 69 |..All th|e tags i|
|00003b80| 6e 20 74 68 65 20 74 61 | 67 20 6c 69 73 74 73 20 |n the ta|g lists |
|00003b90| 69 6e 20 60 74 65 6d 70 | 6f 2d 6c 6f 63 61 6c 2d |in `temp|o-local-|
|00003ba0| 74 61 67 73 27 0a 28 74 | 68 69 73 20 69 6e 63 6c |tags'.(t|his incl|
|00003bb0| 75 64 65 73 20 60 74 65 | 6d 70 6f 2d 74 61 67 73 |udes `te|mpo-tags|
|00003bc0| 27 29 20 61 72 65 20 73 | 65 61 72 63 68 65 64 20 |') are s|earched |
|00003bd0| 66 6f 72 20 61 20 6d 61 | 74 63 68 20 66 6f 72 20 |for a ma|tch for |
|00003be0| 74 68 65 20 74 65 78 74 | 0a 62 65 66 6f 72 65 20 |the text|.before |
|00003bf0| 74 68 65 20 70 6f 69 6e | 74 2e 20 20 54 68 65 20 |the poin|t. The |
|00003c00| 77 61 79 20 74 68 65 20 | 73 74 72 69 6e 67 20 74 |way the |string t|
|00003c10| 6f 20 6d 61 74 63 68 20 | 66 6f 72 20 69 73 20 64 |o match |for is d|
|00003c20| 65 74 65 72 6d 69 6e 65 | 64 20 63 61 6e 0a 62 65 |etermine|d can.be|
|00003c30| 20 61 6c 74 65 72 65 64 | 20 77 69 74 68 20 74 68 | altered| with th|
|00003c40| 65 20 76 61 72 69 61 62 | 6c 65 20 60 74 65 6d 70 |e variab|le `temp|
|00003c50| 6f 2d 6d 61 74 63 68 2d | 66 69 6e 64 65 72 27 2e |o-match-|finder'.|
|00003c60| 20 49 66 0a 60 74 65 6d | 70 6f 2d 6d 61 74 63 68 | If.`tem|po-match|
|00003c70| 2d 66 69 6e 64 65 72 27 | 20 72 65 74 75 72 6e 73 |-finder'| returns|
|00003c80| 20 6e 69 6c 2c 20 74 68 | 65 6e 20 74 68 65 20 72 | nil, th|en the r|
|00003c90| 65 73 75 6c 74 73 20 61 | 72 65 20 74 68 65 20 73 |esults a|re the s|
|00003ca0| 61 6d 65 20 61 73 0a 6e | 6f 20 6d 61 74 63 68 20 |ame as.n|o match |
|00003cb0| 61 74 20 61 6c 6c 2e 0a | 0a 49 66 20 61 20 73 69 |at all..|.If a si|
|00003cc0| 6e 67 6c 65 20 6d 61 74 | 63 68 20 69 73 20 66 6f |ngle mat|ch is fo|
|00003cd0| 75 6e 64 2c 20 74 68 65 | 20 63 6f 72 72 65 73 70 |und, the| corresp|
|00003ce0| 6f 6e 64 69 6e 67 20 74 | 65 6d 70 6c 61 74 65 20 |onding t|emplate |
|00003cf0| 69 73 20 65 78 70 61 6e | 64 65 64 20 69 6e 0a 70 |is expan|ded in.p|
|00003d00| 6c 61 63 65 20 6f 66 20 | 74 68 65 20 6d 61 74 63 |lace of |the matc|
|00003d10| 68 69 6e 67 20 73 74 72 | 69 6e 67 2e 0a 0a 49 66 |hing str|ing...If|
|00003d20| 20 61 20 70 61 72 74 69 | 61 6c 20 63 6f 6d 70 6c | a parti|al compl|
|00003d30| 65 74 69 6f 6e 20 6f 72 | 20 6e 6f 20 6d 61 74 63 |etion or| no matc|
|00003d40| 68 20 61 74 20 61 6c 6c | 20 69 73 20 66 6f 75 6e |h at all| is foun|
|00003d50| 64 2c 20 61 6e 64 20 53 | 49 4c 45 4e 54 20 69 73 |d, and S|ILENT is|
|00003d60| 0a 6e 6f 6e 2d 4e 49 4c | 2c 20 74 68 65 20 66 75 |.non-NIL|, the fu|
|00003d70| 6e 63 74 69 6f 6e 20 77 | 69 6c 6c 20 67 69 76 65 |nction w|ill give|
|00003d80| 20 61 20 73 69 67 6e 61 | 6c 2e 0a 0a 49 66 20 61 | a signa|l...If a|
|00003d90| 20 70 61 72 74 69 61 6c | 20 63 6f 6d 70 6c 65 74 | partial| complet|
|00003da0| 69 6f 6e 20 69 73 20 66 | 6f 75 6e 64 20 61 6e 64 |ion is f|ound and|
|00003db0| 20 60 74 65 6d 70 6f 2d | 73 68 6f 77 2d 63 6f 6d | `tempo-|show-com|
|00003dc0| 70 6c 65 74 69 6f 6e 2d | 62 75 66 66 65 72 27 20 |pletion-|buffer' |
|00003dd0| 69 73 0a 6e 6f 6e 2d 4e | 49 4c 2c 20 61 20 62 75 |is.non-N|IL, a bu|
|00003de0| 66 66 65 72 20 63 6f 6e | 74 61 69 6e 69 6e 67 20 |ffer con|taining |
|00003df0| 70 6f 73 73 69 62 6c 65 | 20 63 6f 6d 70 6c 65 74 |possible| complet|
|00003e00| 69 6f 6e 73 20 69 73 20 | 64 69 73 70 6c 61 79 65 |ions is |displaye|
|00003e10| 64 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 74 |d...(def|alias 't|
|00003e20| 65 6d 70 6f 2d 63 6f 6d | 70 6c 65 74 65 2d 74 61 |empo-com|plete-ta|
|00003e30| 67 20 23 5b 28 26 6f 70 | 74 69 6f 6e 61 6c 20 73 |g #[(&op|tional s|
|00003e40| 69 6c 65 6e 74 29 20 22 | c0 20 19 c2 0b 21 89 1c |ilent) "|. ...!..|
|00003e50| 40 1d 5c 66 41 1e 06 c7 | 0d 09 5c 22 89 1e 08 40 |@.\fA...|..\"...@|
|00003e60| 86 21 00 5c 66 85 21 00 | c9 0d 09 5c 22 89 1e 5c |.!.\f.!.|...\"..\|
|00003e70| 6e 83 2c 00 0e 06 60 7c | 88 5c 66 84 3a 00 0e 0b |n.,...`||.\f.:...|
|00003e80| 86 84 00 cc 20 82 84 00 | 0e 5c 6e 84 49 00 0e 0b |.... ...|.\n.I...|
|00003e90| 86 84 00 cc 20 82 84 00 | 0e 5c 6e cd 3d 83 5b 00 |.... ...|.\n.=.[.|
|00003ea0| ce c7 0d 09 5c 22 41 cf | 5c 22 82 84 00 c7 0e 5c |....\"A.|\".....\|
|00003eb0| 6e 09 5c 22 89 16 08 83 | 6f 00 ce 0e 08 41 cf 5c |n.\"....|o....A.\|
|00003ec0| 22 82 84 00 0e 5c 6e 63 | 88 0e 0b 84 7b 00 cc 20 |"....\nc|....{.. |
|00003ed0| 88 0e 10 85 84 00 d1 0d | 09 5c 22 2e 06 87 22 20 |........|.\"..." |
|00003ee0| 5b 74 65 6d 70 6f 2d 62 | 75 69 6c 64 2d 63 6f 6c |[tempo-b|uild-col|
|00003ef0| 6c 65 63 74 69 6f 6e 20 | 63 6f 6c 6c 65 63 74 69 |lection |collecti|
|00003f00| 6f 6e 20 74 65 6d 70 6f | 2d 66 69 6e 64 2d 6d 61 |on tempo|-find-ma|
|00003f10| 74 63 68 2d 73 74 72 69 | 6e 67 20 74 65 6d 70 6f |tch-stri|ng tempo|
|00003f20| 2d 6d 61 74 63 68 2d 66 | 69 6e 64 65 72 20 6d 61 |-match-f|inder ma|
|00003f30| 74 63 68 2d 69 6e 66 6f | 20 6d 61 74 63 68 2d 73 |tch-info| match-s|
|00003f40| 74 72 69 6e 67 20 6d 61 | 74 63 68 2d 73 74 61 72 |tring ma|tch-star|
|00003f50| 74 20 61 73 73 6f 63 20 | 65 78 61 63 74 20 74 72 |t assoc |exact tr|
|00003f60| 79 2d 63 6f 6d 70 6c 65 | 74 69 6f 6e 20 63 6f 6d |y-comple|tion com|
|00003f70| 70 6c 20 73 69 6c 65 6e | 74 20 64 69 6e 67 20 74 |pl silen|t ding t|
|00003f80| 20 74 65 6d 70 6f 2d 69 | 6e 73 65 72 74 2d 74 65 | tempo-i|nsert-te|
|00003f90| 6d 70 6c 61 74 65 20 6e | 69 6c 20 74 65 6d 70 6f |mplate n|il tempo|
|00003fa0| 2d 73 68 6f 77 2d 63 6f | 6d 70 6c 65 74 69 6f 6e |-show-co|mpletion|
|00003fb0| 2d 62 75 66 66 65 72 20 | 74 65 6d 70 6f 2d 64 69 |-buffer |tempo-di|
|00003fc0| 73 70 6c 61 79 2d 63 6f | 6d 70 6c 65 74 69 6f 6e |splay-co|mpletion|
|00003fd0| 73 5d 20 35 20 28 23 24 | 20 2e 20 31 35 31 38 38 |s] 5 (#$| . 15188|
|00003fe0| 29 20 22 2a 22 5d 29 0a | 23 40 35 39 20 53 68 6f |) "*"]).|#@59 Sho|
|00003ff0| 77 20 61 20 62 75 66 66 | 65 72 20 63 6f 6e 74 61 |w a buff|er conta|
|00004000| 69 6e 69 6e 67 20 70 6f | 73 73 69 62 6c 65 20 63 |ining po|ssible c|
|00004010| 6f 6d 70 6c 65 74 69 6f | 6e 73 20 66 6f 72 20 53 |ompletio|ns for S|
|00004020| 54 52 49 4e 47 2e 1f 0a | 28 64 65 66 61 6c 69 61 |TRING...|(defalia|
|00004030| 73 20 27 74 65 6d 70 6f | 2d 64 69 73 70 6c 61 79 |s 'tempo|-display|
|00004040| 2d 63 6f 6d 70 6c 65 74 | 69 6f 6e 73 20 23 5b 28 |-complet|ions #[(|
|00004050| 73 74 72 69 6e 67 20 74 | 61 67 2d 6c 69 73 74 29 |string t|ag-list)|
|00004060| 20 22 08 83 0e 00 c1 90 | c2 c3 5c 66 0d 5c 22 21 | "......|..\f.\"!|
|00004070| 91 87 c6 8b 87 22 20 5b | 74 65 6d 70 6f 2d 6c 65 |....." [|tempo-le|
|00004080| 61 76 65 2d 63 6f 6d 70 | 6c 65 74 69 6f 6e 2d 62 |ave-comp|letion-b|
|00004090| 75 66 66 65 72 20 22 2a | 43 6f 6d 70 6c 65 74 69 |uffer "*|Completi|
|000040a0| 6f 6e 73 2a 22 20 64 69 | 73 70 6c 61 79 2d 63 6f |ons*" di|splay-co|
|000040b0| 6d 70 6c 65 74 69 6f 6e | 2d 6c 69 73 74 20 61 6c |mpletion|-list al|
|000040c0| 6c 2d 63 6f 6d 70 6c 65 | 74 69 6f 6e 73 20 73 74 |l-comple|tions st|
|000040d0| 72 69 6e 67 20 74 61 67 | 2d 6c 69 73 74 20 28 28 |ring tag|-list ((|
|000040e0| 62 79 74 65 2d 63 6f 64 | 65 20 22 c0 90 c1 c2 0b |byte-cod|e ".....|
|000040f0| 5c 66 5c 22 21 91 88 c5 | c6 21 87 22 20 5b 22 2a |\f\"!...|.!." ["*|
|00004100| 43 6f 6d 70 6c 65 74 69 | 6f 6e 73 2a 22 20 64 69 |Completi|ons*" di|
|00004110| 73 70 6c 61 79 2d 63 6f | 6d 70 6c 65 74 69 6f 6e |splay-co|mpletion|
|00004120| 2d 6c 69 73 74 20 61 6c | 6c 2d 63 6f 6d 70 6c 65 |-list al|l-comple|
|00004130| 74 69 6f 6e 73 20 73 74 | 72 69 6e 67 20 74 61 67 |tions st|ring tag|
|00004140| 2d 6c 69 73 74 20 73 69 | 74 2d 66 6f 72 20 33 32 |-list si|t-for 32|
|00004150| 37 36 37 5d 20 35 29 29 | 5d 20 35 20 28 23 24 20 |767] 5))|] 5 (#$ |
|00004160| 2e 20 31 36 33 36 35 29 | 5d 29 0a 23 40 33 31 35 |. 16365)|]).#@315|
|00004170| 20 45 78 70 61 6e 64 20 | 74 68 65 20 74 61 67 20 | Expand |the tag |
|00004180| 62 65 66 6f 72 65 20 70 | 6f 69 6e 74 20 69 66 20 |before p|oint if |
|00004190| 69 74 20 69 73 20 63 6f | 6d 70 6c 65 74 65 2e 0a |it is co|mplete..|
|000041a0| 52 65 74 75 72 6e 73 20 | 6e 6f 6e 2d 6e 69 6c 20 |Returns |non-nil |
|000041b0| 69 66 20 61 6e 20 65 78 | 70 61 6e 73 69 6f 6e 20 |if an ex|pansion |
|000041c0| 77 61 73 20 6d 61 64 65 | 20 61 6e 64 20 6e 69 6c |was made| and nil|
|000041d0| 20 6f 74 68 65 72 77 69 | 73 65 2e 0a 0a 54 68 69 | otherwi|se...Thi|
|000041e0| 73 20 63 6f 75 6c 64 20 | 61 73 20 61 6e 20 65 78 |s could |as an ex|
|000041f0| 61 6d 70 6c 65 20 62 65 | 20 75 73 65 64 20 69 6e |ample be| used in|
|00004200| 20 61 20 63 6f 6d 6d 61 | 6e 64 20 74 68 61 74 20 | a comma|nd that |
|00004210| 69 73 20 62 6f 75 6e 64 | 20 74 6f 20 74 68 65 0a |is bound| to the.|
|00004220| 73 70 61 63 65 20 62 61 | 72 2c 20 61 6e 64 20 6c |space ba|r, and l|
|00004230| 6f 6f 6b 73 20 73 6f 6d | 65 74 68 69 6e 67 20 6c |ooks som|ething l|
|00004240| 69 6b 65 20 74 68 69 73 | 3a 0a 0a 28 64 65 66 75 |ike this|:..(defu|
|00004250| 6e 20 74 65 6d 70 6f 2d | 73 70 61 63 65 20 28 29 |n tempo-|space ()|
|00004260| 0a 20 20 28 69 6e 74 65 | 72 61 63 74 69 76 65 20 |. (inte|ractive |
|00004270| 22 2a 22 29 0a 20 20 28 | 6f 72 20 28 74 65 6d 70 |"*"). (|or (temp|
|00004280| 6f 2d 65 78 70 61 6e 64 | 2d 69 66 2d 63 6f 6d 70 |o-expand|-if-comp|
|00004290| 6c 65 74 65 29 0a 20 20 | 20 20 20 20 28 69 6e 73 |lete). | (ins|
|000042a0| 65 72 74 20 22 20 22 29 | 29 29 1f 0a 28 64 65 66 |ert " ")|))..(def|
|000042b0| 61 6c 69 61 73 20 27 74 | 65 6d 70 6f 2d 65 78 70 |alias 't|empo-exp|
|000042c0| 61 6e 64 2d 69 66 2d 63 | 6f 6d 70 6c 65 74 65 20 |and-if-c|omplete |
|000042d0| 23 5b 6e 69 6c 20 22 c0 | 20 19 c2 0b 21 89 1c 40 |#[nil ".| ...!..@|
|000042e0| 1d 5c 66 41 1e 06 c7 0d | 09 5c 22 89 1e 08 85 25 |.\fA....|.\"....%|
|000042f0| 00 0e 06 60 7c 88 c9 0e | 08 41 ca 5c 22 88 cb 2d |...`|...|.A.\"..-|
|00004300| 87 22 20 5b 74 65 6d 70 | 6f 2d 62 75 69 6c 64 2d |." [temp|o-build-|
|00004310| 63 6f 6c 6c 65 63 74 69 | 6f 6e 20 63 6f 6c 6c 65 |collecti|on colle|
|00004320| 63 74 69 6f 6e 20 74 65 | 6d 70 6f 2d 66 69 6e 64 |ction te|mpo-find|
|00004330| 2d 6d 61 74 63 68 2d 73 | 74 72 69 6e 67 20 74 65 |-match-s|tring te|
|00004340| 6d 70 6f 2d 6d 61 74 63 | 68 2d 66 69 6e 64 65 72 |mpo-matc|h-finder|
|00004350| 20 6d 61 74 63 68 2d 69 | 6e 66 6f 20 6d 61 74 63 | match-i|nfo matc|
|00004360| 68 2d 73 74 72 69 6e 67 | 20 6d 61 74 63 68 2d 73 |h-string| match-s|
|00004370| 74 61 72 74 20 61 73 73 | 6f 63 20 65 78 61 63 74 |tart ass|oc exact|
|00004380| 20 74 65 6d 70 6f 2d 69 | 6e 73 65 72 74 2d 74 65 | tempo-i|nsert-te|
|00004390| 6d 70 6c 61 74 65 20 6e | 69 6c 20 74 5d 20 34 20 |mplate n|il t] 4 |
|000043a0| 28 23 24 20 2e 20 31 36 | 37 35 33 29 20 22 2a 22 |(#$ . 16|753) "*"|
|000043b0| 5d 29 0a 28 70 72 6f 76 | 69 64 65 20 28 71 75 6f |]).(prov|ide (quo|
|000043c0| 74 65 20 74 65 6d 70 6f | 29 29 0a |te tempo|)). |
+--------+-------------------------+-------------------------+--------+--------+